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

12 lines
583 B
TypeScript

/// <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;
}