Closed PavelHolec closed 1 year ago
To allow reusing ButtonStyles, we need to move the size property to modifier that can be overridden in the hierarchy.
Similar to textColor and iconColor modifiers, Icon should be able to use both textSize and iconSize modifiers, with priority on iconSize.
textColor
iconColor
Icon
textSize
iconSize
To allow reusing ButtonStyles, we need to move the size property to modifier that can be overridden in the hierarchy.
Similar to
textColor
andiconColor
modifiers,Icon
should be able to use bothtextSize
andiconSize
modifiers, with priority oniconSize
.