@up-group-ui/react-controls
Version:
Up shared react controls
16 lines (15 loc) • 440 B
TypeScript
import { WithThemeProps } from '../../../Common/theming/withTheme';
export interface CommonProps extends WithThemeProps {
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;
}