@elhakim/centered-abs

1.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @elhakim/centered-abs

Weekly Downloads

1

Version

1.1.2

License

ISC

Unpacked Size

14.2 kB

Total Files

12

Last publish

Collaborators

  • elhakim