1.1.2 • Published 4 years ago

@elhakim/centered-abs v1.1.2

Weekly downloads
3
License
ISC
Repository
-
Last release
4 years ago

admintool centeralizing component

Admin tool centered abs as a package use it when you have a screen and you want to centralize your content in the middle of it using flex capabilities

Installation

npm i @elhakim/centered-abs

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import CenteredAbs from '@elhakim/centered-abs'

ReactDOM.render(<CenteredAbs bgColor="red">
    <h1>Hello</h1>
</CenteredAbs>, document.getElementById('root'))

Options

optionexampledescription
bgColorbgColor="#fff000"container background color, use any css valid color