diff --git a/src/design/Filepicker/index.tsx b/src/design/Filepicker/index.tsx index 7e38ac393..5a807a159 100644 --- a/src/design/Filepicker/index.tsx +++ b/src/design/Filepicker/index.tsx @@ -50,9 +50,9 @@ const FilepickerList: FC = ({ children }) => ( ); -interface FilepickerButtonType extends PropsWithChildren { +type FilepickerButtonType = PropsWithChildren & { onClick: React.MouseEventHandler; -} +}; const FilepickerButton: FC = ({ children, onClick }) => (