mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 00:26:51 +08:00
style: restrict type import (#1589)
This commit is contained in:
@@ -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,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';
|
||||
|
||||
Reference in New Issue
Block a user