compote-ui
Version:
An opinionated UI component library for Svelte, built on top of [Ark UI](https://ark-ui.com) with additional components and features not available in the core Ark UI library.
10 lines (9 loc) • 359 B
TypeScript
import type { CheckboxRootProps } from '@ark-ui/svelte/checkbox';
import type { Snippet } from 'svelte';
import type { ClassValue } from 'tailwind-variants';
export interface CheckboxProps extends Omit<CheckboxRootProps, 'children' | 'asChild' | 'class' | 'ref'> {
class?: ClassValue;
label?: string;
size?: 'sm' | 'md';
children?: Snippet;
}