@navinc/base-react-components
Version:
Nav's Pattern Library
13 lines (7 loc) • 365 B
Markdown
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`