feat: added a button component
This commit is contained in:
parent
ae73cf821b
commit
8d3b629185
1 changed files with 8 additions and 0 deletions
|
|
@ -37,6 +37,14 @@ const Components: Library = {
|
|||
})
|
||||
return button
|
||||
}
|
||||
},
|
||||
Icon: {
|
||||
new: (icon: string) => {
|
||||
const { HTML } = library
|
||||
return new HTML('i')
|
||||
.class('material-symbols-rounded')
|
||||
.text(icon)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue