You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing new components I usually start of writing css inline using the normal style object, like so: <div style={{backgroundColor: 'red', border: '1px solid blue' }} />
It would be nice if this plugin could hook into the refactor context menu and add an "extract Styled Component" option. Just like we already have a "Extract Component..." option:
Then from the aboven example create something like:
👍 as well. Would love to see this enter the Webstorm workflow since I commonly find myself wanting to auto generate a snippet from the development. Anyone able to tackle this?
When developing new components I usually start of writing css inline using the normal style object, like so:
<div style={{backgroundColor: 'red', border: '1px solid blue' }} />
It would be nice if this plugin could hook into the refactor context menu and add an "extract Styled Component" option. Just like we already have a "Extract Component..." option:
Then from the aboven example create something like:
The text was updated successfully, but these errors were encountered: