@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
13 lines (12 loc) • 465 B
TypeScript
import { MantineSize } from '../../core';
interface RadioGroupContextValue {
size: MantineSize | undefined;
value: string;
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
name: string;
}
export declare const RadioGroupProvider: ({ children, value }: {
value: RadioGroupContextValue;
children: import("react").ReactNode;
}) => import("react").JSX.Element, useRadioGroupContext: () => RadioGroupContextValue | null;
export {};