Skip to content

cdriscol/react-center-tag

Repository files navigation

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>
      )
  }
}

About

Center your react component, the wrong way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published