UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

9 lines (8 loc) 501 B
import type { ReactElement } from "react"; import { type FlexVariants } from "../style/Flex.js"; import type { OptionalChildProps } from "../util/props.js"; import { type ValueInputProps } from "./Input.js"; export interface CheckboxProps extends ValueInputProps<boolean>, OptionalChildProps, FlexVariants { } /** Checkbox element. */ export declare function CheckboxInput({ name, title, placeholder, required, disabled, message, value, onValue, children, ...variants }: CheckboxProps): ReactElement;