feat(Grid): add icon-size prop (#4656)
This commit is contained in:
@@ -71,7 +71,13 @@ export default createComponent({
|
||||
return [
|
||||
this.slots('icon') ||
|
||||
(this.icon && (
|
||||
<Icon name={this.icon} dot={this.dot} info={this.info} class={bem('icon')} />
|
||||
<Icon
|
||||
name={this.icon}
|
||||
dot={this.dot}
|
||||
info={this.info}
|
||||
size={this.parent.iconSize}
|
||||
class={bem('icon')}
|
||||
/>
|
||||
)),
|
||||
this.slots('text') || (this.text && <span class={bem('text')}>{this.text}</span>)
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user