UNPKG

prosperita-dumbo-react

Version:

Uma biblioteca de componentes React moderna e acessível, desenvolvida para aplicações financeiras com design system consistente.

22 lines 1.22 kB
import { InputHTMLAttributes, TextareaHTMLAttributes, ChangeEvent } from "react"; export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & { size?: "small" | "medium" | "large"; label?: string; message?: string; SymbolCipher?: string; randomSymbol?: string; error?: boolean; warning?: boolean; maxLength?: number; disabled?: boolean; readOnly?: boolean; forModal?: boolean; forSlider?: boolean; noRadius?: boolean; borderNone?: boolean; clearFilds?: boolean; onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | ((event: ChangeEvent<HTMLTextAreaElement>) => void); }; export declare const maskRealInput: (string: string, noLeadingZeros?: boolean, thousandSeparator?: string, decimalSeparator?: string) => string; export declare const InputCurrency: ({ message, label, type, warning, maxLength, error, disabled, size, readOnly, placeholder, value, name, forModal, forSlider, onChange, borderNone, noRadius, SymbolCipher, randomSymbol, clearFilds }: InputProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=index.d.ts.map