style: restrict type import (#1589)

This commit is contained in:
Himself65
2023-03-15 11:58:43 -05:00
committed by GitHub
parent 6ab2f83e13
commit efcf1fcaa0
154 changed files with 332 additions and 307 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { ModalUnstyledOwnProps } from '@mui/base/ModalUnstyled';
import type { ModalUnstyledOwnProps } from '@mui/base/ModalUnstyled';
import Fade from '@mui/material/Fade';
import { StyledBackdrop, StyledModal } from './styles';
@@ -1,8 +1,9 @@
import { CloseIcon } from '@blocksuite/icons';
import { HTMLAttributes } from 'react';
import type { HTMLAttributes } from 'react';
import { styled } from '../../styles';
import { IconButton, IconButtonProps } from '../button/IconButton';
import type { IconButtonProps } from '../button/IconButton';
import { IconButton } from '../button/IconButton';
export type ModalCloseButtonProps = {
top?: number;
right?: number;
@@ -1,4 +1,4 @@
import { CSSProperties } from 'react';
import type { CSSProperties } from 'react';
import { styled } from '../../styles';
+1 -1
View File
@@ -1,5 +1,5 @@
import ModalUnstyled from '@mui/base/ModalUnstyled';
import { CSSProperties } from 'react';
import type { CSSProperties } from 'react';
import { styled } from '../../styles';
import { Wrapper } from '../layout';