Browse Source

Merge pull request #3511 from AnSavvides/glossary-space

Minor space change to be in line with coding style everywhere else
main
Paul O’Shannessy 10 years ago
parent
commit
2d14b157f9
  1. 2
      docs/ref-09-glossary.md

2
docs/ref-09-glossary.md

@ -49,7 +49,7 @@ __Factories__
A `ReactElement`-factory is simply a function that generates a `ReactElement` with a particular `type` property. React has a built-in helper for you to create factories. It's effectively just:
```javascript
function createFactory(type){
function createFactory(type) {
return React.createElement.bind(null, type);
}
```

Loading…
Cancel
Save