@renderlesskit/react
Version:
Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit
6 lines (5 loc) • 369 B
TypeScript
import * as React from "react";
import { CheckboxOptions } from "./Checkbox";
export declare function getChecked(options: CheckboxOptions): boolean;
export declare function fireChange(element: HTMLElement, onChange?: React.ChangeEventHandler): void;
export declare function useIndeterminateState(ref: React.RefObject<HTMLInputElement>, options: CheckboxOptions): void;