Page MenuHomePhabricator

Allow buttons to take iconOnly prop
Closed, ResolvedPublic

Description

Buttons can take an iconOnly prop that:

  • adjusts the outer padding of the button (the spacing between the icon and the border) based on the icon-only button tokens

Notes:

  • The iconOnly prop does not visually hide the button label, that is up to the application

Event Timeline

Sarai-WMDE renamed this task from Add slot and prop for icons to Button component to Allow buttons to take iconOnly prop.Dec 16 2020, 4:41 PM
Sarai-WMDE updated the task description. (Show Details)