@coconut-software/ui
Version:
React components for faster and easier web development.
20 lines (19 loc) • 663 B
TypeScript
import type { PropsWithChildren } from 'react';
import type { RadioInputColor, RadioInputSize } from './RadioContext';
interface RadioItemsProps {
color?: RadioInputColor;
defaultValue?: string | number;
disabled?: boolean;
error?: boolean;
helperText?: string;
name?: string;
onChange?: (event: {
target: {
name: string;
value: string | number;
};
}) => void;
size?: RadioInputSize;
}
declare function Items({ children, color, disabled, defaultValue, error, helperText, name, onChange, size, }: PropsWithChildren<RadioItemsProps>): JSX.Element;
export default Items;