@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
14 lines (11 loc) • 525 B
TypeScript
import * as React from 'react';
import { Toggle as Toggle$1 } from 'radix-ui';
import { a as ToggleVariant, T as ToggleSize } from '../../toggle.types-D3M8ZN2a.js';
import 'class-variance-authority';
import 'class-variance-authority/types';
type ToggleProps = React.ComponentProps<typeof Toggle$1.Root> & {
variant?: ToggleVariant;
size?: ToggleSize;
};
declare function Toggle({ className, variant, size, ...props }: ToggleProps): React.JSX.Element;
export { Toggle, type ToggleProps, ToggleSize, ToggleVariant };