Skip to content

zucska/extract-component

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

License

Stars

Watchers

Forks

Packages

No packages published