Simple react component to center content horizontally and vertically
npm install --save react-center
Don't forget to manually install React^0.14 (peer dependency) if you're using npm@3.
var Center = ;...
Good old 1998 Script Tag:
The component depends on React ^0.14 (a introduction of stateless components), so if you're using it without a build step, React ^0.14 must be present as a global.
Navigate to the 'demo' folder and execute
npm install npm run build npm start