@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
22 lines • 828 B
TypeScript
/**
* 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.
*/
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 default FormCheckbox;
//# sourceMappingURL=index.d.ts.map