UNPKG

@navinc/base-react-components

Version:
13 lines (7 loc) 365 B
Uses `<Icon>` wrapped with `<StyledButton>` to create a clickable button icon. ## Props Required - **name** (IconName): icon to display Optional - **variation** (button variations): defaults to the `buttonLink` variation that is styled to look "unstyled" and color is inherited. - **buttonAriaLabel** (string): overrides the auto generated button `aria-label`