feat: format components properly

This commit is contained in:
Jonathan Kelley committed 2022-04-24 13:12:20 -04:00
1 parent 2a1970b3a9
commit f9d9f85924
3 files changed
+101 -7

No files matched your search

+3 -3
View File
@@ -150,11 +150,11 @@ impl ToTokens for Component {
// the struct's fields info
pub struct ComponentField {
name: Ident,
content: ContentField,
pub name: Ident,
pub content: ContentField,
}
enum ContentField {
pub enum ContentField {
ManExpr(Expr),
Formatted(LitStr),
OnHandlerRaw(Expr),