@skillbill/vuelace-3
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/@skillbill%2Fvuelace-3)
21 lines (19 loc) • 649 B
TypeScript
import { SlChangeEvent, SlBlurEvent, SlFocusEvent, SlInputEvent, SlInvalidEvent, VLInputRuleType } from '../utils/types';
export interface VLCheckboxProps {
name?: string;
size?: 'small' | 'medium' | 'large';
disabled?: boolean;
checked?: boolean;
indeterminate?: boolean;
defaultChecked?: boolean;
form?: string;
required?: boolean;
label?: string;
error?: string;
rules?: VLInputRuleType[];
onChange?: (e: SlChangeEvent) => void;
onBlur?: (e: SlBlurEvent) => void;
onFocus?: (e: SlFocusEvent) => void;
onInput?: (e: SlInputEvent) => void;
onInvalid?: (e: SlInvalidEvent) => void;
}