UNPKG

lightswind

Version:

A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.

23 lines 1 kB
import * as React from "react"; interface ToggleGroupProps { type: "single" | "multiple"; value?: string | string[]; defaultValue?: string | string[]; onValueChange?: (value: string | string[]) => void; disabled?: boolean; variant?: "default" | "outline"; size?: "default" | "sm" | "lg"; className?: string; children?: React.ReactNode; } declare const ToggleGroup: React.ForwardRefExoticComponent<ToggleGroupProps & Omit<React.HTMLAttributes<HTMLDivElement>, keyof ToggleGroupProps> & React.RefAttributes<HTMLDivElement>>; interface ToggleGroupItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> { value: string; disabled?: boolean; variant?: "default" | "outline"; size?: "default" | "sm" | "lg"; defaultPressed?: boolean; } declare const ToggleGroupItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>; export { ToggleGroup, ToggleGroupItem }; //# sourceMappingURL=toggle-group.d.ts.map