mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Minor space change to be in line with coding style everywhere else
This commit is contained in:
1 parent
cb05e2f85b
commit
b6534bec7d
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user