Skip to content

Commit d4f4c04

Browse files
committed
Merge pull request #45 from meleyal/patch-1
Fix typo
2 parents 8b0a799 + f07f11a commit d4f4c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ To use `react_ujs`, simply `require` it after `react` (and after `turbolinks` if
8484
//= require react_ujs
8585
```
8686

87-
### Viewer helper
87+
### View helper
8888

89-
There is a viewer helper method `react_component`. It is designed to work with `react_ujs` and takes a React class name, properties, and HTML options as arguments:
89+
There is a view helper method `react_component`. It is designed to work with `react_ujs` and takes a React class name, properties, and HTML options as arguments:
9090

9191
```ruby
9292
react_component('HelloMessage', :name => 'John')

0 commit comments

Comments
 (0)