shelving
Version:
Toolkit for using data in JavaScript.
9 lines (8 loc) • 553 B
TypeScript
import type { ReactElement } from "react";
import { type FlexProps } from "../style/Flex.js";
import type { OptionalChildProps } from "../util/props.js";
import { type ValueInputProps } from "./Input.js";
export interface RadioInputProps extends ValueInputProps<boolean>, OptionalChildProps, FlexProps {
}
/** A single `<input type="radio">` in a `<label>` wrapper styled as an `<Input>` */
export declare function RadioInput({ name, title, placeholder, required, disabled, message, value, onValue, children, ...props }: RadioInputProps): ReactElement;