import * as React from "react";
import Uploady, { useFileInput } from "./index";
const MyComponent: React.FC = () => {
const inputRef = useFileInput();
if (inputRef.current) {
inputRef.current.setAttribute("webkitdirectory", "true");
}
return
test
;
};
const MyApp: React.FC = () =>
test
;
const testMyApp = (): React.JSX.Element => {
return ;
};
const testUseFileInput = (): React.JSX.Element =>
;
const testWithSendProps = (): React.JSX.Element => (
test
);
export {
testMyApp,
testUseFileInput,
testWithSendProps
};