UNPKG

@achs/webkit

Version:

Este paquete proporciona un conjunto de componentes de UI para su uso en aplicaciones web de ACHS (Asociación Chilena de Seguridad). Está construido con React, TypeScript y Vite.

20 lines (19 loc) 581 B
import { default as React } from 'react'; 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?: 'error' | 'success' | 'default'; searchEnabled?: boolean; } export declare const Select: React.FC<SelectProps>; export default Select;