0.2.0 • Published 6 years ago

stacky-ui v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

stacky-ui

banner

blazing-fast under-8kb

A kind of UI

TODO: Fill out this long description.

Table of Contents

Background

Here why this exists./

Install

yarn add stacky-ui

Usage

import {StackyWithState} from 'stacky-ui'
import {ComponentA, ComponentB} from 'components'

const renderFrame = ({id}) => {
  const Frame = id === 'componentA' ? ComponentA : ComponentB
  return <Frame />
}

const options = {
  pages: [
    {
      id: 'componentA'
    },
    {
      id: 'componentB'
    }
  ],
  activePage: 1,
  renderFrame
}

const Layout = () => (
  <div>
    <Stacky {...options} />
  </div>
)

API

Maintainers

@albinotonnina

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2018 Albino Tonnina

0.2.0

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago