@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
29 lines • 1.02 kB
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.
*
* @prettier
*/
import { FormControlProps, RadioGroupProps } from '@mui/material';
import { ReactElement } from 'react';
import { FormRadioProps } from "../FormRadio";
import { InputLabelProps } from "../InputLabel";
export type FormRadioGroupProps = RadioGroupProps & {
options: FormRadioProps[];
helpText?: string;
formControlProps?: FormControlProps;
inputLabelProps?: InputLabelProps;
label: string;
};
export declare function FormRadioGroup({ options, label, formControlProps, helpText, name, ...radioGroupProps }: FormRadioGroupProps): ReactElement<FormRadioGroupProps>;
export declare namespace FormRadioGroup {
var defaultProps: {
formControlProps: undefined;
helpText: undefined;
inputLabelProps: undefined;
};
}
export default FormRadioGroup;
//# sourceMappingURL=index.d.ts.map