UNPKG

react-vite-themes

Version:

A test/experimental React theme system created for learning purposes. Features atomic design components, SCSS variables, and dark/light theme support. Not intended for production use.

37 lines 1.33 kB
import React from 'react'; interface InputProps { as?: 'input' | 'textarea'; className?: string; size?: 'sm' | 'md' | 'lg'; leftIcon?: React.ReactNode | string; leftIconSize?: 'sm' | 'md' | 'lg'; rightIcon?: React.ReactNode | string; rightIconSize?: 'sm' | 'md' | 'lg'; isRounded?: boolean; accept?: string; multiple?: boolean; showDateIcon?: boolean; dateFormat?: 'YYYY-MM-DD' | 'MM/DD/YYYY' | 'DD/MM/YYYY'; minDate?: string; maxDate?: string; useCustomCalendar?: boolean; showPasswordToggle?: boolean; type?: string; placeholder?: string; value?: string | number; defaultValue?: string | number; onChange?: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void; onFocus?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void; onBlur?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void; disabled?: boolean; required?: boolean; readOnly?: boolean; autoFocus?: boolean; autoComplete?: string; name?: string; id?: string; [key: string]: any; } export declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>; export {}; //# sourceMappingURL=Input.d.ts.map