feat(GridItem): add icon-prefix prop (#5666)

This commit is contained in:
chenjiahan
2020-02-27 20:41:57 +08:00
parent 961bf9cccb
commit 09b57901f5
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -20,6 +20,7 @@ export default createComponent({
dot: Boolean,
text: String,
icon: String,
iconPrefix: String,
info: [Number, String],
},
@@ -87,6 +88,7 @@ export default createComponent({
info={this.info}
size={this.parent.iconSize}
class={bem('icon')}
classPrefix={this.iconPrefix}
/>
);
}