Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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