A vscode extension that allows user to moves style from JSX element to StyleSheet.
- Select the style which you want to move.
- Press
Ctrl+Shift+P
or your shortcut key to open command panel. - Type
react-native-generator-stylesheet
and pressEnter
. - A prompt will appear which asks for the style name.
- Type the style name and Press
Enter
- Voila! Magic.