styled-components support
Open
blocked due to 3rd party bug
- Dominant language
- TypeScript
- Stars
- 203
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
When previewing a file in the collapsible tree view, my `styled-components` code:
```js
const ActionText = styled.button`
${props => props.theme.ActionText(props.theme)[props.variant]};
`;
```
displays like this:
```js
const ActionText = styled.button`
___CSS_0___;
`;
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the example in the collapsible tree view's file preview and trace where styled-components template contents are transformed. Compare the displayed preview with the original snippet; done means the interpolated expression is preserved instead of being replaced by ___CSS_0___.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100