Skip to content

Commit

Permalink
Add import module to readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
mahshadalishahi authored and stuyam committed Apr 30, 2019
1 parent f87c407 commit 515bbd9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ bower install simple-react-validator --save
```

# 3 Easy Steps
1. Initialize the validator.

1. Import and Initialize the validator.
```javascript
import SimpleReactValidator from 'simple-react-validator';
```
es5
```javascript
componentWillMount: function() {
Expand Down

0 comments on commit 515bbd9

Please sign in to comment.