UNPKG

@youwen/ai-design-system

Version:

Enterprise AI-driven design system with comprehensive design tokens

17 lines (16 loc) 773 B
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const selectVariants: (props?: ({ variant?: "default" | "success" | "error" | null | undefined; size?: "default" | "sm" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement>, VariantProps<typeof selectVariants> { variant?: "default" | "error" | "success" | null | undefined; placeholder?: string; options?: Array<{ value: string; label: string; }>; } declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>; export { Select, selectVariants };