@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
19 lines • 688 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 { FormControlLabelProps, RadioProps } from '@mui/material';
import { ReactElement } from 'react';
export type FormRadioProps = RadioProps & {
/**
* Unique ID for the input. This is required
*/
id: string;
label: string | ReactElement;
labelProps?: FormControlLabelProps;
};
export declare function FormRadio({ labelProps, id, label, value, ...formSwitchProps }: FormRadioProps): ReactElement<FormRadioProps>;
export default FormRadio;
//# sourceMappingURL=index.d.ts.map