jank-ui
v0.1.17
Published
Downloads
8
Readme
Jank-UI
Import Matter-UI modules
import { Button, colorSchemes, ThemeProvider } from "jank-ui";
Wrap in ThemeProvider
and pass it a theme of either colorSchemes.light
or colorSchemes.dark
<ThemeProvider theme={colorSchemes.light}>
<Button
type="primary"
size="l">
Click Me
</Button>
</ThemeProvider>
Contributing
Type Checking
Compile declarations
npm run tsc
Storybook
Run storybook
npm start
Build storybook
npm run storybook:build
Serve storybook locally
npx http-server .out
Build
npm run build
Add component to
index.d.ts
and
index.tsx
Increment version number in
package.json