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