UNPKG

@penaprieto/design-system

Version:

Multi-brand React design system with design tokens from Figma

24 lines 692 B
import React from 'react'; import './DatePicker.css'; export interface DatePickerProps { /** Fecha seleccionada (controlado) */ value?: Date; /** Fecha por defecto (no controlado) */ defaultValue?: Date; /** Callback al cambiar la fecha */ onChange?: (date: Date | undefined) => void; /** Fecha mínima */ minDate?: Date; /** Fecha máxima */ maxDate?: Date; /** Placeholder */ placeholder?: string; /** Deshabilitado */ disabled?: boolean; /** Error */ error?: boolean; /** Clase CSS adicional */ className?: string; } export declare const DatePicker: React.FC<DatePickerProps>; //# sourceMappingURL=DatePicker.d.ts.map