Skip to content
Open
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rendering and validation.
- [`<Field />`](#field-)
- [`<Fieldset />`](#fieldset-)
- [`createValue({schema, value, onChange})`](#createvalueschema-value-onchange)
- [`WithFormValue(Component)`](#withformvaluecomponent)
- [`withFormValue(Component)`](#withformvaluecomponent)
- [Howto Guides](#howto-guides)
- [Customizing form fields](#customizing-form-fields)
- [Pattern for reusable forms](#pattern-for-reusable-forms)
Expand Down Expand Up @@ -117,7 +117,7 @@ let formValue = createValue({value, onChange, schema})

#### `createValue({schema, value, onChange})`

#### `WithFormValue(Component)`
#### `withFormValue(Component)`

### Howto Guides

Expand Down Expand Up @@ -177,7 +177,7 @@ Implementing form field component from scratch:

```js
import React from 'react'
import {WithFormValue} from 'react-forms'
import {withFormValue} from 'react-forms'

class Field extends React.Component {

Expand All @@ -194,7 +194,7 @@ class Field extends React.Component {
onChange = (e) => this.props.formValue.update(e.target.value)
}

Field = WithFormValue(Field);
Field = withFormValue(Field);
```

#### Pattern for reusable forms
Expand Down