File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ render(
27
27
```
28
28
* ` URLProvider ` is a High-Order Component.
29
29
* ` URLProvider ` expect only one property named ` urls ` .
30
- * ` urls ` should be an object where the keys are the URLs names and the values are the unparsed url using the sintax of Express.js.
30
+ * ` urls ` should be an object where the keys are the URLs names and the values are the unparsed url using the syntax of Express.js.
31
31
32
32
### connectURL
33
33
``` javascript
@@ -48,7 +48,7 @@ export default UserData;
48
48
* The ` connectURL ` argument (` mapURLToProps ` ) it's optional.
49
49
* If you don't supply it then it will add the ` getURL ` function as a property.
50
50
* The ` mapURLToProps ` function will receive the ` getURL ` function and ` props ` object as parameter and should return an object.
51
- * The ` getURL ` function receive the URL name and an objet with the parameters to use in it and return the parsed URL.
51
+ * The ` getURL ` function receive the URL name and an object with the parameters to use in it and return the parsed URL.
52
52
* You can use it as a decorator (like the example above) or just as a function and send them the component to connect.
53
53
54
54
### parser
You can’t perform that action at this time.
0 commit comments