React.createFactory
1 2 3 | factoryFunction createFactory( string/ReactClass type ) |
Return a function that produces ReactElements of a given type. Like React.createElement
, the type argument can be either an html tag name string (eg. 'div', 'span', etc), or a ReactClass
.
Please login to continue.