0.1.17 • Published 4 years ago

jank-ui v0.1.17

Weekly downloads
51
License
-
Repository
-
Last release
4 years ago

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