@cmk/fe_utils
Version:
frontend utility library
13 lines (11 loc) • 564 B
TypeScript
import { FormControlLabelProps, FormHelperTextProps, SwitchProps, TooltipProps, TypographyProps } from '@mui/material';
import { GenericInputFieldProps } from './types';
export type CSwitchProps = GenericInputFieldProps<'bool'> & Omit<SwitchProps, 'value' | 'onChange'> & {
slotProps?: {
tooltip?: TooltipProps;
formControlLabel?: FormControlLabelProps;
typography?: TypographyProps;
formHelperText?: FormHelperTextProps;
};
};
export declare const Switch: (props: CSwitchProps) => import("react/jsx-runtime").JSX.Element;