webcoreui
Version:
UI component and template library for Astro, Svelte, and React apps styled with Sass.
20 lines (16 loc) • 474 B
text/typescript
import type { MouseEventHandler } from 'svelte/elements'
export type CheckboxProps = {
checked?: boolean
label?: string
subText?: string
disabled?: boolean
color?: string
className?: string
[key: string]: any
}
export type SvelteCheckboxProps = {
onClick?: MouseEventHandler<HTMLInputElement>
} & CheckboxProps
export type ReactCheckboxProps = {
onClick?: React.MouseEventHandler<HTMLInputElement>
} & CheckboxProps