smiley-design

This is a custom react library.

Usage no npm install needed!

<script type="module">
  import smileyDesign from 'https://cdn.skypack.dev/smiley-design';
</script>

README

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