diff --git a/index.d.ts b/index.d.ts index 310e140..9207852 100644 --- a/index.d.ts +++ b/index.d.ts @@ -4,6 +4,10 @@ export interface makeReactNativeFieldProps { name: string; } +export interface setFormikInitialValueProps { + name: string; +} + export interface withInputTypePropsProps { type: string; } @@ -17,6 +21,7 @@ export interface withTouchedProps { } export type makeInputGreatAgainProps = makeReactNativeFieldProps & + setFormikInitialValueProps & withInputTypePropsProps & withErrorProps & withTouchedProps; @@ -25,6 +30,10 @@ export function makeReactNativeField( WrappedComponent: React.ComponentType ): React.ComponentClass; +export function setFormikInitialValue( + WrappedComponent: React.ComponentType +): React.ComponentClass; + export function withError( WrappedComponent: React.ComponentType ): React.ComponentClass;