npm.io
1.1.2 • Published 6 years ago

@elhakim/loader

Licence
ISC
Version
1.1.2
Deps
1
Size
79 kB
Vulns
0
Weekly
0

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

option example description
bgColor bgColor="#fff000" container background color, use any css valid color