Add BxIconRaw tyoe

This commit is contained in:
redphx
2024-12-23 06:26:16 +07:00
parent 03b7c7358e
commit fc5219705c
8 changed files with 35 additions and 18 deletions

View File

@@ -819,7 +819,7 @@ function createElement(elmName, props, ..._) {
}
var domParser = new DOMParser;
function createSvgIcon(icon) {
return domParser.parseFromString(icon.toString(), "image/svg+xml").documentElement;
return domParser.parseFromString(icon, "image/svg+xml").documentElement;
}
var ButtonStyleIndices = Object.keys(ButtonStyleClass).map((i) => parseInt(i));
function createButton(options) {