1.0.5 • Published 1 year ago

centered-div v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Centered Div

This is a simple centered div React component.

Installation

npm install centered-div

Usage

import CenteredDiv from 'centered-div';

const App = () => (
  <CenteredDiv>
    <h1>Hello World!</h1>
  </CenteredDiv>
);

export default App;

Options

No options required.

Tests

This project has not been tested.

Website

Disclaimer

It is a simple component that created for a joke on my Twitter. Maybe I will improve this component in the future.