Skip to content

Commit

Permalink
fix(type): setFormikInitialValue type
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jun 18, 2018
1 parent ebbe6eb commit d55996f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ export interface makeReactNativeFieldProps {
name: string;
}

export interface setFormikInitialValueProps {
name: string;
}

export interface withInputTypePropsProps {
type: string;
}
Expand All @@ -17,6 +21,7 @@ export interface withTouchedProps {
}

export type makeInputGreatAgainProps = makeReactNativeFieldProps &
setFormikInitialValueProps &
withInputTypePropsProps &
withErrorProps &
withTouchedProps;
Expand All @@ -25,6 +30,10 @@ export function makeReactNativeField<Props>(
WrappedComponent: React.ComponentType<Props>
): React.ComponentClass<Props & makeReactNativeFieldProps>;

export function setFormikInitialValue<Props>(
WrappedComponent: React.ComponentType<Props>
): React.ComponentClass<Props & setFormikInitialValueProps>;

export function withError<Props>(
WrappedComponent: React.ComponentType<Props>
): React.ComponentClass<Props & withErrorProps>;
Expand Down

0 comments on commit d55996f

Please sign in to comment.