wix-style-react
Version:
18 lines (15 loc) • 421 B
TypeScript
import * as React from 'react';
export interface FilePickerProps {
dataHook?: string;
header?: string | React.ReactNode;
onChange?: (file: File) => void;
mainLabel?: string;
subLabel?: string;
supportedFormats?: string;
maxSize?: number;
error?: boolean;
errorMessage?: string;
id?: string | number;
name?: string;
}
export default class FilePicker extends React.PureComponent<FilePickerProps> {}