Closed allan2 closed 1 year ago
Yes, this will be supported after we update stylist to Yew 0.20.
It would be nice if the attribute name could be omitted, like in Yew 0.20. https://github.com/futursolo/stylist-rs/pull/69 maybe relevant?
#[styled_component]
is a wrapper around #[function_component]
.
But the attribute parsing is separate so it will need to be updated manually.
Thanks @futursolo and @WorldSEnder for this crate!
It would be nice if the attribute name could be omitted, like in Yew 0.20. #69 maybe relevant?
Current:
Proposed: