@krowdy-ui/core
Version:
React components that implement Google's Material Design.
12 lines (8 loc) • 346 B
TypeScript
import { CheckboxProps } from '@material-ui/core/Checkbox';
import { PropTypes } from '..';
type Props = {
color?: 'primary' | 'secondary' | 'default' | 'krowdy' | 'error';
}
export type KrowdyCheckboxProps =Omit<CheckboxProps, keyof Props> & Props;
declare const Checkbox: React.ComponentType<KrowdyCheckboxProps>;
export default Checkbox;