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.
11 lines (10 loc) • 384 B
TypeScript
import type { ToggleRootProps } from '@ark-ui/svelte/toggle';
import type { ClassValue } from 'svelte/elements';
import type { ToggleSize, ToggleVariant } from './toggle.variants';
export interface ToggleProps extends ToggleRootProps {
class?: ClassValue | null;
size?: ToggleSize;
variant?: ToggleVariant;
icon?: boolean;
}
export type { ToggleSize, ToggleVariant };