Stationery World Components
A Stationery World Svelte component library.
Learn how this project was scaffolded and published to NPM:
https://app.clickup.com/25535636/v/dc/rb94m-3544/rb94m-2384
To install:
npm i @stationeryworld/components
or
yarn add @stationeryworld/components
Documentation
Storybook is integrated in this project. To run the Storybook, run yarn storybook or npm run storybook
.
More info about Storybook here.
You can also click here to see how we integrated Storybook in this project.
Example component usage:
In your component, import via:
<script>
import { DateWidget } from "@stationeryworld/components"
</script>
<DateWidget placeholder="Pick your date" on:dateSelect={(e) => alert(e.detail)} />
Sample REPL here.