How to create a React component to publish on NPM?

npmjs