mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
chore: remove residual FC and FunctionComponent from components
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useCallback, type FC, type MouseEvent } from 'react';
|
||||
import { useCallback, type MouseEvent } from 'react';
|
||||
import {
|
||||
styled,
|
||||
Tooltip,
|
||||
@@ -83,7 +83,7 @@ export const AddCommentActions = ({
|
||||
};
|
||||
|
||||
type IconButtonWithTooltipProps = {
|
||||
icon: FC<SvgIconProps>;
|
||||
icon: (prop: SvgIconProps) => JSX.Element;
|
||||
tooltip?: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user