UNPKG

formik-material-ui

Version:

![](https://github.com/stackworx/formik-material-ui/workflows/Build%20formik-material-ui/badge.svg) ![](https://github.com/stackworx/formik-material-ui/workflows/Build%20formik-material-ui-lab/badge.svg) [![license](https://badgen.now.sh/badge/license/MIT

12 lines (11 loc) 564 B
/// <reference types="react" /> import { FormControlLabelProps as MuiFormControlLabelProps } from '@mui/material/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({ Label, ...props }: CheckboxWithLabelProps): JSX.Element; export declare namespace CheckboxWithLabel { var displayName: string; }