Skip to content

Repository files navigation

VSCode > Extract react component

Core functionalities:

  • Extraction: extracts component to new file and embeds it in the current file. Props are automatically passed to the new component.

(Folder default src/components/NAME/index.js) >> package.json @components

  • to change the default folder, edit configuration "extractcomponent.path"

  • Embedding: wraps selected component in a component of choice (e.g. View, ScrollView )

  • Extract stylesheet inline

  • Extract method render

About

Plugin vscode for extract component react

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages