Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
suyesh committed Jul 27, 2018
1 parent 87d78aa commit b8c2ee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -93,25 +93,25 @@ Install it as:

## USAGE

###Import Validator from redux-state-validator
### Import Validator from redux-state-validator

```
import Validator from 'redux-state-validator';
```

###Import Json Schema on the file
### Import Json Schema on the file

```
import stateSchema from './your-json-schema';
```

###Setup `Validator` to use the schema
### Setup `Validator` to use the schema

```
const stateValidator = Validator.Schema(stateSchema);
```

###Apply to the redux middleware
### Apply to the redux middleware

```
const store = createStore(
Expand Down

0 comments on commit b8c2ee4

Please sign in to comment.