-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
I have categories for different purposes:
Component
: display a UI element for reusabilityScene
: display a whole UI page for a sceneApp
: display the whole app with full functionalities just likereact-native start
- and more... for testing specific functionalities with UI
My current stories are like this:
* [API] REST API
* [Scene] AdDialog
* [Comp] BannerButton
* [Comp] BannerView
I want to make stories to be classified in categories
* API
* REST API
* App
* new start
* logged-in user
* Components
* BannerButton
* BannerView
* ...
* Scenes
* AdDialog
* ....
using the following code
// original story: accept a string for the story name
storiesOf('[Scene] AdDialog', module)
// with category: accept an array for the category and story names
storiesOf(['Scene', 'AdDialog'], module)