Closed 6-eyes closed 1 year ago
Consider the css!
macro available in a styled_component
or the use_style!
hook available in any function component.
Creating a style from a runtime string requires enabling the parser
feature and is most of the time not what you want.
I am trying out stylist for the first time. As per the tutorials, i should be able to convert
&str
into the required type, but it produces the error given as:The error.
Following is my code.