rebassjs / grid

This package has moved and renamed
https://rebassjs.org/reflexbox
MIT License
2.04k stars 96 forks source link

Support string template as `css` #168

Closed Kikobeats closed 5 years ago

Kikobeats commented 5 years ago

Hello,

How could be possible support passing string template as css prop?

<Box
  css={`
    font-family: monospace;
  `}
/>

I'm not sure if this functionality needs to depends of the styled-components version 🤔

jxnblk commented 5 years ago

I believe this works with babel-plugin-styled-components now – but, yes, the current css prop should handle that correctly