@up-group/react-controls
Version:
We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get
17 lines (16 loc) • 419 B
TypeScript
import UpFile from './UpFile';
export default UpFile;
export interface CommonProps {
maxSize?: number;
hasError: boolean;
fileExtension?: string;
className?: string;
onChange: (value: any) => void;
}
export interface UpFileProps extends CommonProps {
onError?: (value: string) => void;
value?: any;
}
export interface UpFileStyleProps extends CommonProps {
value: any;
}