UNPKG

@skillbill/vuelace-3

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/@skillbill%2Fvuelace-3.svg)](https://badge.fury.io/js/@skillbill%2Fvuelace-3)

21 lines (19 loc) 649 B
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; }