@dapplets/dapplet-extension
Version:
The Bridge to the Augmented Web.
16 lines (15 loc) • 463 B
TypeScript
import { FieldValidator } from 'formik';
import React from 'react';
type Props = {
label?: string;
name: string;
maxLength?: number;
minLength?: number;
disabled?: boolean;
invalid?: boolean;
required?: boolean;
validate?: FieldValidator;
value?: string;
};
declare const Field: ({ label, name, maxLength: max, minLength: min, disabled, invalid, required, validate, value, }: Props) => React.JSX.Element;
export default Field;