Skip to content

elcoosp/react-gridy-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-gridy-layout

contributions welcome JavaScript Style Guide

Css grid react component for simple layout

Table of Contents

Installation

First be sure to set the @bit registery with :

npm config set '@bit:registry' https://node.bitsrc.io

Then run :

npm i @bit/elcoosp.ui.components.gridy

Usage

Documentation available here

Example

import React from 'react'
import { render } from 'react-dom'
import {
  Layout,
  Header,
  Aside,
  Main,
  Footer
} from '@bit/elcoosp.ui.components.gridy/Gridy'

// Check the documentation for all the available props on the Layout component
const App = () => (
  <Layout debugBg>
    <Header>Header</Header>
    <Aside>Aside</Aside>
    <Main>Main</Main>
    <Footer>Footer</Footer>
  </Layout>
)
render(<App />, document.getElementById('root'))

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

About

A css grid layout component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published