emotion-js / emotion-js/facepaint
Styled-Component Object Notation Example
Open
- Dominant language
- JavaScript
- Stars
- 594
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
I would like to use facepaint inside an object, but I am not sure this is possible.
Something like:
```jsx
const mq = facepaint([
'@media(min-width: 420px)',
])
const Container = styled.div({
...mq({
color: ['#f2f', '#00ff00'],
}),
})
```
Is this not possible?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.