@react-md/form
Version:
This package is for creating all the different form input types.
14 lines (13 loc) • 538 B
TypeScript
/// <reference types="react" />
import type { InputToggleProps } from "./InputToggle";
export interface RadioProps extends InputToggleProps {
/**
* A value is required for a radio button unlike a checkbox.
*/
value: readonly string[] | string | number;
}
/**
* The `Radio` component is just a wrapper for the `InputToggle` that
* defaults to reasonable defaults for a radio input.
*/
export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLInputElement>>;