UNPKG

prosperita-dumbo-react

Version:

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

27 lines 1.2 kB
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; tootipLabel?: { align: "top" | "top-left" | "top-right" | "bottom" | "top" | "bottom-left" | "bottom-right" | "left" | "right"; width?: string; children?: React.ReactNode; size: "small" | "large" | "medium"; label?: string; }; }; export declare const InputFluid: ({ message, label, type, rows, warning, maxLength, error, disabled, cols, readOnly, loading, placeholder, id, name, noRadius, borderNone, onChange, value, tootipLabel }: InputProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=index.d.ts.map