prosperita-dumbo-react
Version:
**Dumbo React** é uma biblioteca de componentes React que facilita a manipulação de propriedades em seus componentes. Ela fornece uma forma simples e eficiente de gerenciar e manipular props, tornando seu código mais limpo e fácil de manter.
22 lines • 1.22 kB
TypeScript
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