Button component - icon-button - create Vue component
Problem
Reuse and add onto the button component. Add an icon prop that takes in an icon name from the GitLab SVG library.. Change the style according to the design specs for just icon buttons.
Proposal
Attributes (props)
- category
- tertiary (default)
- primary
- secondary
- variant
- default (default)
- success
- info
- danger
- warning
- dashed
- link
- disabled
- false (default)
- true
- size
- small
- medium
- block (full-width)
- false (default)
- true
-
icon
- string for which icon is being used
Links
Edited by Scott Hampton
