Add StoryThis VS Code extension allows for you to create a Storybook story for a client by just right-clicking on the component file and selecting Add Story: SettingsYou can choose whether to have the arguments for the story added or not. This extension will try to map the properties to the type when creating the args, but in case you don't want them, please uncheck the Should Add Args To Story option. If you want to have your own template for the created story rather than the default one used by this extension, you can set it by opening the Visual Studio Code command-menu (ctrl+ctrl) and run the command Add Story Template Path, which will allow for you to select the file you want to use. To create a template, you can use the following template keys:
The default template looks like this:
ContributingIf you want to contribute, please visit the repo over at GitHub. Either add an issue or create PR! DevelopmentTo work with the repo, please start by installing the local dependencies ( How do I publish a new version?Bump the version in package.json and run the following command:
|