Skip to content

Commit 6114865

Browse files
committed
Resolved conflicts
1 parent 682aaef commit 6114865

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ to apply to the form.
504504

505505
[See the 🏁 Final Form docs on `mutators`](https://github.com/final-form/final-form#mutators--string-function-).
506506

507-
#### `onSubmit: (values: Object, callback: ?(errors: ?Object) => void) => ?Object | Promise<?Object> | void`
507+
#### `onSubmit: (values: Object, form: FormApi, callback: ?(errors: ?Object) => void) => ?Object | Promise<?Object> | void`
508508

509-
[See the 🏁 Final Form docs on `onSubmit`](https://github.com/final-form/final-form#onsubmit-values-object-callback-errors-object--void--object--promiseobject--void).
509+
[See the 🏁 Final Form docs on `onSubmit`](https://github.com/final-form/final-form#onsubmit-values-object-form-formapi-callback-errors-object--void--object--promiseobject--void).
510510

511511
#### `render?: (props: FormRenderProps) => React.Node`
512512

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-final-form",
3-
"version": "1.2.1",
3+
"version": "2.0.0",
44
"description":
55
"🏁 High performance subscription-based form state management for React",
66
"main": "dist/react-final-form.cjs.js",
@@ -42,7 +42,7 @@
4242
"eslint-plugin-import": "^2.8.0",
4343
"eslint-plugin-jsx-a11y": "^6.0.2",
4444
"eslint-plugin-react": "^7.4.0",
45-
"final-form": "^2.0.0",
45+
"final-form": "^3.0.0",
4646
"flow": "^0.2.3",
4747
"flow-bin": "^0.61.0",
4848
"husky": "^0.14.3",
@@ -65,7 +65,7 @@
6565
"rollup-plugin-uglify": "^2.0.1"
6666
},
6767
"peerDependencies": {
68-
"final-form": "^2.0.0",
68+
"final-form": "^3.0.0",
6969
"prop-types": "^15.6.0",
7070
"react": "^15.3.0 || ^16.0.0-0"
7171
},

src/ReactFinalForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type {
1717
import type { FormProps as Props, ReactContext } from './types'
1818
import shallowEqual from './shallowEqual'
1919
import renderComponent from './renderComponent'
20-
export const version = '1.2.1'
20+
export const version = '2.0.0'
2121

2222
export const all: FormSubscription = formSubscriptionItems.reduce(
2323
(result, key) => {

0 commit comments

Comments
 (0)