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
12 lines • 473 B
text/typescript
import { InputHTMLAttributes } from 'react';
export interface IBox extends InputHTMLAttributes<HTMLInputElement> {
name: string,
value?: string;
key?: string;
label?: string;
onChange?: (e: any) => void;
register?: any;
renderOptions?: () => any | boolean;
}
//Type 'false | (() => any)' is not assignable to type '(() => boolean | Element) | undefined'.
// Type 'boolean' is not assignable to type '() => boolean | Element'.ts(2322)