UNPKG

@achs/webkit

Version:

Conjunto de componentes de UI con el estilo del Sistema de Diseño ACHS (Asociación Chilena de Seguridad), para reutilizar de forma transversal en las aplicaciones web de ACHS. Construido con **React 19**, **TypeScript** y **Vite**, con soporte para las

22 lines (21 loc) 629 B
import { default as React } from 'react'; import { AchsStatus } from '../../../types'; export interface SelectOption { label: string; value: string | number; disabled?: boolean; } export interface SelectProps { options: SelectOption[]; multiple?: boolean; value?: string | number | Array<string | number>; onChange?: (value: string | number | Array<string | number>) => void; onBlur?: () => void; placeholder?: string; text?: string; status?: AchsStatus; searchEnabled?: boolean; disabled?: boolean; } export declare const Select: React.FC<SelectProps>; export default Select;