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.
16 lines (15 loc) • 519 B
TypeScript
import type { ToggleSize } from '../toggle/toggle.variants';
export type ToggleGroupVariant = 'outline' | 'ghost';
export declare const getToggleGroupContext: () => {
readonly size: ToggleSize;
readonly variant: ToggleGroupVariant;
readonly icon: boolean;
}, setToggleGroupContext: (context: {
readonly size: ToggleSize;
readonly variant: ToggleGroupVariant;
readonly icon: boolean;
}) => {
readonly size: ToggleSize;
readonly variant: ToggleGroupVariant;
readonly icon: boolean;
};