rharuow-ds
Version:
Modern React Design System with 20 components and auto color system. Define only 2 colors (primary/secondary) and get automatic variations (hover, light, dark) with proper text contrast (WCAG AA). Includes: Table, Card, Button, Chip, Pagination, Input, Te
19 lines (18 loc) • 652 B
TypeScript
import * as React from "react";
import { type CurrencyValueType } from "../lib/currency.utils";
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
name: string;
label?: string;
Icon?: React.ElementType;
iconClassName?: string;
containerClassName?: string;
iconAction?: React.MouseEventHandler<HTMLDivElement>;
cpf?: boolean;
cep?: boolean;
currency?: boolean;
currencyCode?: string;
currencyLocale?: string;
currencyValueType?: CurrencyValueType;
}
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
export { Input };