feat: format components properly
This commit is contained in:
1 parent
2a1970b3a9
commit
f9d9f85924
3 files changed
+101
-7
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user