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.
14 lines (13 loc) • 567 B
TypeScript
import { ToggleGroup } from '@ark-ui/svelte/toggle-group';
import type { ToggleGroupRootBaseProps } from '@ark-ui/svelte/toggle-group';
import type { ToggleSize } from '../toggle/toggle.variants';
import { type ToggleGroupVariant } from './toggle-group-context';
interface Props extends ToggleGroupRootBaseProps {
class?: string;
size?: ToggleSize;
variant?: ToggleGroupVariant;
icon?: boolean;
}
declare const ToggleGroup: import("svelte").Component<Props, {}, "value">;
type ToggleGroup = ReturnType<typeof ToggleGroup>;
export default ToggleGroup;