react-center-tag
v1.0.0
Published
Center your react component, the wrong way!
Downloads
12
Readme
react-center-tag
Center your react component, the wrong way!
installation
$ yarn add react-center-tag
usage
import React from 'react';
import Center from 'react-center';
class MyComponent extends React.Component {
render() {
return (
<Center>{this.props.children}</Center>
)
}
}