mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 03:56:23 +08:00
chore: remove residual FC and FunctionComponent from components
This commit is contained in:
@@ -41,7 +41,7 @@ type ListButtonProps = {
|
||||
content?: string;
|
||||
children?: () => JSX.Element;
|
||||
hover?: boolean;
|
||||
icon?: React.FC<SvgIconProps>;
|
||||
icon?: (prop: SvgIconProps) => JSX.Element;
|
||||
};
|
||||
|
||||
export const ListButton = (props: ListButtonProps) => {
|
||||
|
||||
Reference in New Issue
Block a user