1.1.1 • Published 3 years ago

smiley-design v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

Smiley Design

This is a custom react library that allows you to create responsive components quickly.

NPM JavaScript Style Guide

Install

npm install --save smiley-design

Usage

import React, { Component } from 'react'
import { Panel, NavBar, Layout, Main} from 'smiley-design'

export default class App extends Component {

  render () {
  // when the navSidebarPosition={"left"} on the NavBar 
    return (
      <Main typeContainer="main"> 
          <NavBar navSidebarPosition="left">
            <div>
              <button>test1</button>
            </div>
            <div>
              <button>test2</button>
            </div>
            <div>
              <button>test3</button>
            </div>
          </NavBar>
          <Main typeContainer="sub">
            <Layout>
                <Panel>
                  <div>
                    <p>Lorem ipsum dolor sit amet</p>
                  </div>
                </Panel>   
            </Layout>
          </Main>
      </Main>
    )
  }
}

License

MIT © jon-smiley

1.1.1

3 years ago

1.1.0

5 years ago

1.0.0

5 years ago