UNPKG

@penaprieto/design-system

Version:

Multi-brand React design system with design tokens from Figma

22 lines 648 B
import React from 'react'; import './TimePicker.css'; export interface TimePickerProps { /** Valor en formato HH:mm (controlado) */ value?: string; /** Valor por defecto (no controlado) */ defaultValue?: string; /** Callback al cambiar */ onChange?: (time: string) => void; /** Formato 12h o 24h */ format?: '12h' | '24h'; /** Placeholder */ placeholder?: string; /** Deshabilitado */ disabled?: boolean; /** Error */ error?: boolean; /** Clase CSS adicional */ className?: string; } export declare const TimePicker: React.FC<TimePickerProps>; //# sourceMappingURL=TimePicker.d.ts.map