GoScrobble/web/node_modules/formik-material-ui/dist/CheckboxWithLabel.d.ts

12 lines
583 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
/// <reference types="react" />
import { FormControlLabelProps as MuiFormControlLabelProps } from '@material-ui/core/FormControlLabel';
import { FieldProps } from 'formik';
import { CheckboxProps } from './Checkbox';
export interface CheckboxWithLabelProps extends FieldProps, CheckboxProps {
Label: Omit<MuiFormControlLabelProps, 'checked' | 'name' | 'value' | 'control'>;
}
export declare function CheckboxWithLabel<Val = unknown>({ Label, ...props }: CheckboxWithLabelProps): JSX.Element;
export declare namespace CheckboxWithLabel {
var displayName: string;
}