1 | import * as React from 'react';
|
2 | import { FormikProps, GenericFieldHTMLAttributes, FieldMetaProps, FieldInputProps } from './types';
|
3 | import { FieldConfig } from './Field';
|
4 | export interface FastFieldProps<V = any> {
|
5 | field: FieldInputProps<V>;
|
6 | meta: FieldMetaProps<V>;
|
7 | form: FormikProps<V>;
|
8 | }
|
9 | export declare type FastFieldConfig<T> = FieldConfig & {
|
10 |
|
11 | shouldUpdate?: (nextProps: T & GenericFieldHTMLAttributes, props: {}) => boolean;
|
12 | };
|
13 | export declare type FastFieldAttributes<T> = GenericFieldHTMLAttributes & FastFieldConfig<T> & T;
|
14 | export declare const FastField: React.ComponentType<any>;
|