1.0.5 • Published 4 years ago
@elhakim/access-model v1.0.5
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 |