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.
Supported languages (file extensions)
JavaScript (.js)
TypeScript (.ts)
JavaScript React (.jsx)
TypeScript React (.tsx)
Snippets
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB key.
Trigger
Content
dgp→
stateless standard page skeleton digimon
dgc→
stateless standard component skeleton digimon
dgcc→
stateless standard component skeleton digimon with children
dgccp→
stateless standard component skeleton digimon with children and props
dgrpt→
empty propTypes declaration
dgrdp→
empty defaultProps declaration
And then, the below lists all the snippets that can be used for prop types.
For example dgpts creates the PropTypes.string and dgptsr creates the PropTypes.string.isRequired.