Create a React Native sub-component from Component.
it is a VS CODE extension which allows us to split React Native components into sub-components
1. Select the code you want to split to a new sub-component.
2. Choose Split Component
from the Right-Click Menu / Command Palette.
or press alt+option+cmd+k
3. Enter a name for the new sub-component.
Plateform | Key |
---|---|
MAC | alt+option+cmd+k |
Window | ctrl+shift+k |
Thanks goes to these wonderful people (emoji key):
Numan 🚇 💻 |