mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-27 02:45:14 +00:00
12 lines
648 B
TypeScript
12 lines
648 B
TypeScript
|
/// <reference types="react" />
|
||
|
import { CheckboxProps as MuiCheckboxProps } from '@material-ui/core/Checkbox';
|
||
|
import { FieldProps } from 'formik';
|
||
|
export interface CheckboxProps extends FieldProps, Omit<MuiCheckboxProps, 'name' | 'value' | 'error' | 'form' | 'checked' | 'defaultChecked' | 'type'> {
|
||
|
type?: string;
|
||
|
}
|
||
|
export declare function fieldToCheckbox({ disabled, field: { onBlur: fieldOnBlur, ...field }, form: { isSubmitting }, type, onBlur, ...props }: CheckboxProps): MuiCheckboxProps;
|
||
|
export declare function Checkbox(props: CheckboxProps): JSX.Element;
|
||
|
export declare namespace Checkbox {
|
||
|
var displayName: string;
|
||
|
}
|