desmy-react
Version:
Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.
17 lines (16 loc) • 480 B
TypeScript
import { Component, ChangeEvent } from 'react';
interface Props {
onFileSelected: (file: File | null) => void;
}
interface State {
input: {
file: File | null;
};
}
declare class DesmyDocumentPicker extends Component<Props, State> {
constructor(props: Props);
handleFileChange: (event: ChangeEvent<HTMLInputElement>) => void;
handleCancelDocument: () => void;
render(): import("react/jsx-runtime").JSX.Element;
}
export { DesmyDocumentPicker };