UNPKG

@actinc/dls

Version:

Design Language System (DLS) for ACT & Encoura front-end projects.

32 lines 1.04 kB
/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @prettier */ import { CheckboxProps, FormControlLabelProps, FormControlProps } from '@mui/material'; import { ReactElement } from 'react'; export type FormCheckboxProps = CheckboxProps & { /** * Unique ID for the input. This is required */ id: string; label: string; value?: boolean; fullWidth?: boolean; formControlProps?: FormControlProps; labelProps?: FormControlLabelProps; }; export declare function FormCheckbox({ labelProps, id, label, value, fullWidth, formControlProps, ...formSwitchProps }: FormCheckboxProps): ReactElement<FormCheckboxProps>; export declare namespace FormCheckbox { var defaultProps: { formControlProps: undefined; fullWidth: undefined; labelProps: undefined; value: undefined; }; } export default FormCheckbox; //# sourceMappingURL=index.d.ts.map