soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
15 lines (14 loc) • 579 B
TypeScript
/// <reference types="react" />
import './radio-button.scss';
/**
* @specs https://m3.material.io/components/radio-button/specs
*/
export declare const RadioButton: import("react").ForwardRefExoticComponent<{
checked?: boolean | undefined;
/**
* Must provide for grouped radio (`inside <RadioGroup>`)
*/
value?: string | undefined;
onChange?(value?: string): void;
children?: React.ReactNode;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "checked" | "value" | "children" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;