UNPKG

@sveltestrap/sveltestrap

Version:

Bootstrap components for Svelte

28 lines (23 loc) 669 B
import { SvelteComponent } from 'svelte'; import { HTMLInputAttributes } from 'svelte/elements'; export interface FormCheckProps extends HTMLInputAttributes { group?: any; inline?: boolean; inner?: HTMLElement; invalid?: boolean; label?: string; reverse?: boolean; size?: 'lg' | 'sm'; valid?: boolean; } export interface FormCheckEvents { blur: WindowEventMap['blur']; change: WindowEventMap['change']; focus: WindowEventMap['focus']; input: WindowEventMap['input']; } export interface FormCheckSlots { default: {}; label?: {}; } export default class FormCheck extends SvelteComponent<FormCheckProps, FormCheckEvents, FormCheckSlots> {}