This extension contains storybook code snippets for JavaScript in ES6 syntax for Vs Code editor (supports both JavaScript and TypeScript).
**All the snippets include the final semicolon ;
.
In order to install an extension you need to launch the Command Palette (Ctrl + Shift + P or Cmd + Shift + P) and type Extensions. There you have either the option to show the already installed snippets or install new ones. Search for JavaScript (ES6) code snippets and install it.
- JavaScript (.js)
- TypeScript (.ts)
- JavaScript React (.jsx)
- TypeScript React (.tsx)
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB
key.
Trigger | Content |
---|---|
!sbjrc→ |
Javascript Template for storybook |
!sbtrc→ |
Typescript Template for storybook |