Skip to content

feat(Path): Add icon to Path component

Brandon Labuschagne requested to merge add-icon-to-path-component into master

What does this MR do?

This MR adds the ability to set an icon on a path item.

This is needed for gitlab#213905 (closed) and is described in gitlab-design#1080 (closed)

Basic With icon With icon and metric
Screenshot_2020-05-06_at_14.25.49 Screenshot_2020-05-06_at_14.25.42 Screenshot_2020-05-06_at_14.25.03

Does this MR meet the acceptance criteria?

Conformity

  • Code review guidelines.
  • GitLab UI's contributing guidlines.
  • If it changes a Pajamas-compliant component's look & feel, the MR has been reviewed by a UX designer.
  • [-] If it changes GitLab UI's documentation guidelines, the MR has been reviewed by a Technical Writer.
  • [-] If the MR changes a component's API, integration MR(s) have been opened in the following projects to ensure that the @gitlab/ui package can be upgraded quickly after the changes are released:
  • Added the ~"component:*" label(s) if applicable.
Edited by Brandon Labuschagne

Merge request reports

Loading