update README.md for React.createFactory

Update README.md to use `React.createFactory` because direct call of React component is deprecated.