Skip to content

Commit

Permalink
fix(ts): Updated TS Defination for withNextInputAutoFocusForm to acce…
Browse files Browse the repository at this point in the history
…pt 2nd argument i.e. options. (#89)
  • Loading branch information
kishanio authored and Almouro committed Mar 9, 2019
1 parent b9e8036 commit f4885cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ export function withNextInputAutoFocusInput<Props>(
): React.ComponentClass<Props>;

export function withNextInputAutoFocusForm<Props>(
WrappedComponent: React.ComponentType<Props>
WrappedComponent: React.ComponentType<Props>,
options?: {
submitAfterLastInput: Boolean
}
): React.ComponentClass<Props>;

export function withPickerValues<Props>(
Expand Down

0 comments on commit f4885cd

Please sign in to comment.