UNPKG

@dapplets/dapplet-extension

Version:
16 lines (15 loc) 463 B
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;