mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 05:10:20 +03:00
refactor(): Add interface props
This commit is contained in:
parent
bfa3b70644
commit
d3277bda3f
|
@ -23,7 +23,7 @@ const Button = styled.button`
|
|||
}
|
||||
`;
|
||||
|
||||
const FileInput = props => {
|
||||
const FileInput = (props: { onUpload }) => {
|
||||
const hiddenFileInput: RefObject<HTMLInputElement> = useRef<HTMLInputElement>(null);
|
||||
|
||||
function handleClick() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user