UNPKG

@synergycodes/axiom

Version:

A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.

22 lines (21 loc) 757 B
import { InputHTMLAttributes } from 'react'; import { SelectorSize } from '../../shared/types/selector-size'; type Props = { /** * The size of the checkbox */ size?: SelectorSize; /** * Whether the checkbox is in an indeterminate state */ indeterminate?: boolean; /** * Whether the checkbox is checked */ checked?: boolean; } & Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>; /** * A customizable checkbox component that supports three states: checked, unchecked, and indeterminate. It can be used in forms or as a standalone control. */ export declare function Checkbox({ size, className, indeterminate, checked, onChange, ...props }: Props): import("react/jsx-runtime").JSX.Element; export {};