react-fblibrary
Version:
FBLibrary é uma biblioteca autoral que reúne componentes e bases fundamentais para desenvolvimento eficiente. Nosso objetivo é criar um ecossistema de componentes, desde elementos simples, como inputs e botões, até layouts completos, que podem ser reutili
15 lines (13 loc) • 415 B
text/typescript
import { InputHTMLAttributes } from 'react';
export interface IInputField extends InputHTMLAttributes<HTMLInputElement> {
name: string,
type?: string,
icon?: boolean,
key?: string,
label?: string,
styles?: [],
register?: any,
mask?: "cep" | "currency" | "cpf" | "cnpj" | "phone" | "cell" | "serie" | "license"
dataTestId?: string
onChange?: (e: any) => void
}