mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
style: restrict type import (#1589)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { TooltipProps } from '@mui/material';
|
||||
import { CSSProperties } from 'react';
|
||||
import type { TooltipProps } from '@mui/material';
|
||||
import type { CSSProperties } from 'react';
|
||||
|
||||
import { Popper, type PopperProps } from '../popper';
|
||||
import { StyledMenuWrapper } from './styles';
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
import {
|
||||
cloneElement,
|
||||
forwardRef,
|
||||
HTMLAttributes,
|
||||
PropsWithChildren,
|
||||
ReactElement,
|
||||
} from 'react';
|
||||
import type { HTMLAttributes, PropsWithChildren, ReactElement } from 'react';
|
||||
import { cloneElement, forwardRef } from 'react';
|
||||
|
||||
import { StyledArrow, StyledMenuItem } from './styles';
|
||||
export type IconMenuProps = PropsWithChildren<{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ArrowRightSmallIcon } from '@blocksuite/icons';
|
||||
import { CSSProperties } from 'react';
|
||||
import type { CSSProperties } from 'react';
|
||||
|
||||
import { displayFlex, styled } from '../../styles';
|
||||
import StyledPopperContainer from '../shared/Container';
|
||||
|
||||
Reference in New Issue
Block a user