mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 00:56:26 +08:00
chore: strict eslint check (#1084)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import Fade from '@mui/material/Fade';
|
||||
import { StyledModal, StyledBackdrop } from './styles';
|
||||
import { ModalUnstyledOwnProps } from '@mui/base/ModalUnstyled';
|
||||
import Fade from '@mui/material/Fade';
|
||||
|
||||
import { StyledBackdrop, StyledModal } from './styles';
|
||||
|
||||
const Backdrop = ({
|
||||
open,
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { HTMLAttributes } from 'react';
|
||||
import { CloseIcon } from '@blocksuite/icons';
|
||||
import { IconButton, IconButtonProps } from '../button/IconButton';
|
||||
import { HTMLAttributes } from 'react';
|
||||
|
||||
import { styled } from '../../styles';
|
||||
import { IconButton, IconButtonProps } from '../button/IconButton';
|
||||
export type ModalCloseButtonProps = {
|
||||
top?: number;
|
||||
right?: number;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { CSSProperties } from 'react';
|
||||
|
||||
import { styled } from '../../styles';
|
||||
|
||||
export const ModalWrapper = styled.div<{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Modal from './Modal';
|
||||
|
||||
export * from './Modal';
|
||||
export * from './ModalCloseButton';
|
||||
export * from './ModalWrapper';
|
||||
export * from './Modal';
|
||||
|
||||
export default Modal;
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { styled } from '../../styles';
|
||||
import ModalUnstyled from '@mui/base/ModalUnstyled';
|
||||
import { Wrapper } from '../layout';
|
||||
import { CSSProperties } from 'react';
|
||||
|
||||
import { styled } from '../../styles';
|
||||
import { Wrapper } from '../layout';
|
||||
|
||||
export const StyledBackdrop = styled.div(({ theme }) => {
|
||||
return {
|
||||
zIndex: '-1',
|
||||
|
||||
Reference in New Issue
Block a user