Use react.createElement in example in basic/
#2315 : Use of React.createFactory in example basic/
Merge pull request #2344 from ThomasCrvsr/master

Use React.createFactory in examples/basic/