galal-front-end-utils
Version:
A JavaScript utilities package for front end
27 lines • 638 B
TypeScript
interface Props {
uid?: string;
name?: string;
type: string;
classes?: string;
styles?: object;
label?: string;
theme?: 'bootstrap' | 'materialize' | 'materialize-ui';
value?: any;
onChange: () => {};
onBlur: () => {};
onClick: () => {};
}
export interface CheckboxProps extends Props {
type: 'checkbox';
checked?: boolean;
}
export interface textboxProps extends Props {
type: 'text';
}
export interface formProps extends Props {
type: 'GET' | 'POST';
action?: string;
children: [];
}
export default Props;
//# sourceMappingURL=IProps.d.ts.map