synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines • 630 B
TypeScript
import { RadioGroupProps } from '@mui/material/RadioGroup';
export type RadioGroupWithOtherStringProps = {
radioGroupProps?: Omit<RadioGroupProps, 'value' | 'onChange'>;
value: string;
onChange: (newValue: string) => void;
options: {
value: string;
label: string;
}[];
};
/**
* A form component that renders a group of radio buttons with an "Other" option that allows the user to enter a custom string.
*/
export default function RadioGroupWithOtherString(props: RadioGroupWithOtherStringProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=RadioGroupWithOtherString.d.ts.map