@camtom/nyx-design-system
Version:
Nyx Design System - Sistema de diseño profesional para React con TypeScript, componentes accesibles y documentación completa
22 lines • 799 B
TypeScript
import { SelectHTMLAttributes, ReactNode } from 'react';
export interface SelectOption {
value: string | number;
label: string;
disabled?: boolean;
}
export type SelectVariant = 'default' | 'subtle' | 'pill' | 'compact';
export type SelectSize = 'small' | 'medium' | 'large';
export interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
options: SelectOption[];
label?: string;
variant?: SelectVariant;
size?: SelectSize;
error?: boolean;
helperText?: string;
placeholder?: string;
icon?: ReactNode;
className?: string;
fullWidth?: boolean;
}
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLSelectElement>>;
//# sourceMappingURL=Select.d.ts.map