UNPKG

@vtex/admin-ui

Version:

> VTEX admin component library

17 lines (16 loc) 744 B
/// <reference types="react" /> import type { CheckboxProps as ReakitProps } from 'reakit/Checkbox'; import { CheckboxStateReturn, useCheckboxState } from 'reakit/Checkbox'; export declare const Checkbox: import("@vtex/admin-ui-react").AdminUIJsxComponent<import("reakit-system/ts/createComponent").Component<"input", import("reakit/ts/Checkbox").CheckboxOptions>, CheckboxOptions, { size: { regular: any; small: any; }; }>; declare type State = Pick<ReakitProps, 'state' | 'setState'>; export interface CheckboxOptions { state?: State; } export declare type CheckboxProps = React.ComponentPropsWithRef<typeof Checkbox> & CheckboxOptions; export { useCheckboxState }; export { CheckboxStateReturn };