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
Has the official considered using css string props like emotion?
import{css}from'@emotion/react'constcolor='darkgreen'render(<divcss={css` background-color: hotpink; &:hover { color: ${color}; } `}>
This has a hotpink background.
</div>)
Because users often write code according to the figma inspection when developing projects in the company:
If use the css object to write, users also need to convert the figma inspect into the css object.
But if users can directly use the css string, users can directly paste the figma css inspect, which will greatly improve the work efficiency.
The text was updated successfully, but these errors were encountered:
Has the official considered using css string props like emotion?
Because users often write code according to the figma inspection when developing projects in the company:
If use the css object to write, users also need to convert the figma inspect into the css object.
But if users can directly use the css string, users can directly paste the figma css inspect, which will greatly improve the work efficiency.
The text was updated successfully, but these errors were encountered: