UNPKG

@actinc/dls

Version:

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

22 lines 814 B
/** * 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 { FormControlLabelProps, FormControlProps, SwitchProps } from '@mui/material'; import { ReactElement } from 'react'; export type FormSwitchProps = SwitchProps & { /** * Unique ID for the input. This is required */ id: string; label: string; value?: boolean; fullWidth?: boolean; formControlProps?: FormControlProps; labelProps?: FormControlLabelProps; }; export declare function FormSwitch({ labelProps, id, label, value, fullWidth, formControlProps, ...formSwitchProps }: FormSwitchProps): ReactElement<FormSwitchProps>; export default FormSwitch; //# sourceMappingURL=index.d.ts.map