bob-2
TypeScript icon, indicating that this package has built-in type declarations

0.0.16 • Public • Published

Bob 2

This repo is a PoC for a cross-platform FE component library

Installation

npm install bob-2

Usage

import { Button, ThemeContext } from 'bob-2'

const Example = () => (
   <ThemeContext value="kevin"> // 'kevin' or 'website'
      <Button>Click here</Button>
   </ThemeContext>
)

export default Example

Publishing

  • Make changes
  • Update version number inside package.json
  • run npm publish

Caveats

  • Currently published under richhastings npm account, so this will need to be addressed

Readme

Keywords

none

Package Sidebar

Install

npm i bob-2

Weekly Downloads

4

Version

0.0.16

License

none

Unpacked Size

7.68 kB

Total Files

22

Last publish

Collaborators

  • richhastings