UNPKG

@slashid/react

Version:

React SDK for the /id platform

20 lines 481 B
import { TextConfigKey } from "../text/constants"; type Props = { status: "empty"; label: TextConfigKey; cta: TextConfigKey; accept: string; onChange: React.ChangeEventHandler<HTMLInputElement>; } | { status: "uploading"; label: TextConfigKey; } | { status: "success"; blob: Blob; } | { status: "failure"; blob: Blob; }; export declare const FileUpload: (props: Props) => JSX.Element; export {}; //# sourceMappingURL=file-upload.d.ts.map