mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 17:16:16 +08:00
chore: remove residual FC and FunctionComponent from components
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type {
|
||||
FC,
|
||||
MouseEventHandler,
|
||||
CSSProperties,
|
||||
PropsWithChildren,
|
||||
|
||||
@@ -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