feat(RadioGroup): add icon-size prop (#4529)
This commit is contained in:
@@ -76,10 +76,12 @@ export const CheckboxMixin = ({ parent, bem, role }) => ({
|
||||
</span>
|
||||
);
|
||||
|
||||
const iconSize = this.iconSize || (this.parent && this.parent.iconSize);
|
||||
|
||||
const Children = [
|
||||
<div
|
||||
class={bem('icon', [this.shape, { disabled: this.isDisabled, checked }])}
|
||||
style={{ fontSize: addUnit(this.iconSize) }}
|
||||
style={{ fontSize: addUnit(iconSize) }}
|
||||
>
|
||||
{CheckIcon}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user