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.
20 lines • 900 B
TypeScript
import { InputHTMLAttributes, TextareaHTMLAttributes } from "react";
import "react-loading-skeleton/dist/skeleton.css";
export type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
label?: string;
message?: string;
placeholder?: string;
error?: boolean;
warning?: boolean;
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
maxLength?: number;
disabled?: boolean;
readOnly?: boolean;
loading?: boolean;
cols?: number;
rows?: number;
noRadius?: boolean;
borderNone?: boolean;
};
export declare const InputFluid: ({ message, label, type, rows, warning, maxLength, error, disabled, cols, readOnly, loading, placeholder, id, name, noRadius, borderNone, onChange, value }: InputProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=index.d.ts.map