diff --git a/demo/components/FileInput.tsx b/demo/components/FileInput.tsx index 2192a826..a0ead58e 100644 --- a/demo/components/FileInput.tsx +++ b/demo/components/FileInput.tsx @@ -23,7 +23,7 @@ const Button = styled.button` } `; -const FileInput = props => { +const FileInput = (props: { onUpload }) => { const hiddenFileInput: RefObject = useRef(null); function handleClick() {