UNPKG

aura-glass

Version:

A comprehensive glassmorphism design system for React applications with 142+ production-ready components

30 lines 874 B
import React from "react"; export interface SegmentedItem { id: string; label: string; icon?: React.ReactNode; disabled?: boolean; } export interface GlassSegmentedControlProps { items?: SegmentedItem[]; value?: string; onChange?: (id: string) => void; size?: "sm" | "md" | "lg"; condensed?: boolean; className?: string; /** * Whether to respect motion preferences for animations */ respectMotionPreference?: boolean; /** * Accessible label for the segmented control */ "aria-label"?: string; /** * Test ID for testing */ "data-testid"?: string; } export declare const GlassSegmentedControl: React.ForwardRefExoticComponent<GlassSegmentedControlProps & React.RefAttributes<HTMLDivElement>>; export default GlassSegmentedControl; //# sourceMappingURL=GlassSegmentedControl.d.ts.map