13 lines
368 B
TypeScript
13 lines
368 B
TypeScript
|
type CheckboxWithLabelOptionalProps = Partial<
|
||
|
Pick<CheckboxProps, 'checked' | 'onChange'>
|
||
|
> & {
|
||
|
checkboxProps?: Partial<CheckboxProps>;
|
||
|
formControlLabelProps?: Partial<
|
||
|
import('@mui/material').FormControlLabelProps
|
||
|
>;
|
||
|
};
|
||
|
|
||
|
type CheckboxWithLabelProps = CheckboxWithLabelOptionalProps & {
|
||
|
label: import('@mui/material').FormControlLabelProps['label'];
|
||
|
};
|