soda-material
Version:
A React(>=18) component library that may follow [Material Design 3](https://m3.material.io/components) (a.k.a. Material You)
15 lines (14 loc) • 498 B
TypeScript
/// <reference types="react" />
export declare const RadioGroupContext: import("react").Context<{
value?: string | undefined;
onChange?: ((value: string) => void) | undefined;
} | undefined>;
/**
* Container component for `<RadioButton>`
*/
export declare function RadioGroup({ value, defaultValue, onChange, children, }: {
defaultValue?: string;
value?: string;
onChange?: (value: string) => void;
children?: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;