UNPKG

@cmk/fe_utils

Version:
15 lines (13 loc) 702 B
import { CheckboxProps as MCBProps, TooltipProps, FormControlLabelProps, FormHelperTextProps, TypographyProps } from '@mui/material'; import { GenericInputFieldProps } from './types'; import { ChangeEvent } from 'react'; export type CheckboxProps = GenericInputFieldProps<'bool'> & Omit<MCBProps, 'value' | 'onChange'> & { onChangeCompleted?: (checked: boolean, e: ChangeEvent<HTMLInputElement>) => void; slotProps?: { tooltip?: TooltipProps; formControlLabel?: FormControlLabelProps; typography?: TypographyProps; formHelperText?: FormHelperTextProps; }; }; export declare const Checkbox: (props: CheckboxProps) => import("react/jsx-runtime").JSX.Element;