Skip to content

Commit f4885cd

Browse files
kishanioAlmouro
authored andcommitted
fix(ts): Updated TS Defination for withNextInputAutoFocusForm to accept 2nd argument i.e. options. (#89)
1 parent b9e8036 commit f4885cd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ export function withNextInputAutoFocusInput<Props>(
5757
): React.ComponentClass<Props>;
5858

5959
export function withNextInputAutoFocusForm<Props>(
60-
WrappedComponent: React.ComponentType<Props>
60+
WrappedComponent: React.ComponentType<Props>,
61+
options?: {
62+
submitAfterLastInput: Boolean
63+
}
6164
): React.ComponentClass<Props>;
6265

6366
export function withPickerValues<Props>(

0 commit comments

Comments
 (0)