0.0.16 • Published 6 months ago
bob-2 v0.0.16
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