UNPKG

@visactor/react-vtable

Version:
18 lines (17 loc) 676 B
import type { Cursor, CheckBox as VRenderCheckbox, CheckboxAttributes } from '@visactor/vtable/es/vrender'; import React from 'react'; export interface CheckboxProps { children?: string; textStyle?: CheckboxAttributes['text']; boxStyle?: CheckboxAttributes['box']; iconStyle?: CheckboxAttributes['icon']; checked?: boolean; indeterminate?: boolean; interactive?: boolean; disabled?: boolean; disableCursor?: Cursor; spaceBetweenTextAndIcon?: number; visible?: boolean; onChange?: (checked: boolean) => void; } export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<VRenderCheckbox>>;