diff --git a/src/form/button.js b/src/form/button.js
index c287dfe..a86e27d 100644
--- a/src/form/button.js
+++ b/src/form/button.js
@@ -257,7 +257,7 @@ class Button extends Component {
render() {
return html`
`
diff --git a/src/form/passwd.js b/src/form/passwd.js
index 508d365..9635d24 100644
--- a/src/form/passwd.js
+++ b/src/form/passwd.js
@@ -234,7 +234,7 @@ class Passwd extends Component {
`
diff --git a/src/icon/index.js b/src/icon/index.js
index a654516..87f4999 100644
--- a/src/icon/index.js
+++ b/src/icon/index.js
@@ -15,12 +15,12 @@ if (window.EXT_SVG_DICT) {
class Icon extends Component {
static props = {
- is: {
+ name: {
type: String,
default: null,
observer(val) {
if (val === '') {
- this.is = null
+ this.name = null
}
}
}
@@ -32,7 +32,7 @@ class Icon extends Component {
width: var(--size, 36px);
height: var(--size, 36px);
}
- :host(:not([is])) {
+ :host(:not([name])) {
display: none;
}
.icon {
@@ -93,12 +93,12 @@ class Icon extends Component {
render() {
return html`
`
}