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.
9 lines (8 loc) • 325 B
TypeScript
import { Switch, type SwitchRootBaseProps } from '@ark-ui/svelte/switch';
interface Props extends SwitchRootBaseProps {
labelSpacer?: boolean;
layout?: 'vertical' | 'horizontal';
}
declare const Switch: import("svelte").Component<Props, {}, "checked">;
type Switch = ReturnType<typeof Switch>;
export default Switch;