Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "bob-2", | ||
"private": false, | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "dist/main.js", |
@@ -11,1 +11,24 @@ # Bob 2 | ||
``` | ||
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 | ||
10104
34