razor-shared-library
Version:
13 lines (12 loc) • 464 B
TypeScript
import { ReactElement } from 'react';
import { RadioGroupProps } from '@mui/material/RadioGroup';
import { RadioItems } from './types';
interface Props extends Omit<RadioGroupProps, 'onChange'> {
label: string;
radioItems: RadioItems[];
value: string;
disabled?: boolean;
onChange?: (value: string) => void;
}
export declare function RadioGroupCustom({ label, radioItems, value, disabled, onChange, ...props }: Props): ReactElement;
export {};