0.0.28 • Published 3 years ago
new-story v0.0.28
New Story
Utilities to generate stories for your components.
Usage
# Using Yarn:
$ yarn global add new-story
# or, using NPM
$ npm i -g new-story
Integrating storybook into your existing app.
# Generate boilerplate story for all components.
cd into you a directory you want your stories to be generated.
new-story stories
Working on new component
# Generate Stories for all your variants
new-story story -f <filepathfromroot> -p <props>
## filepath eg: src/components/ui/Button/Button.stories.tsx
## props eg: size=sm,md,lg
Look into this example for detailed instructions.
0.0.28
3 years ago
0.0.27
3 years ago
0.0.26
3 years ago
0.0.25
3 years ago
0.0.23
3 years ago
0.0.22
3 years ago
0.0.21
3 years ago
0.0.19
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago