Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 796 Bytes

small-apricots-judge.md

File metadata and controls

20 lines (17 loc) · 796 Bytes
@primer/react-brand
patch

Added x variant to UnorderedList, and leadingVisual, variant, leadingVisualAriaLabel and leadingVisualFill props to list items.

Example:

<UnorderedList variant="x">
  <UnorderedList.Item leadingVisual={CheckIcon} leadingVisualFill="green">
    Check icon override in green
  </UnorderedList.Item>
  <UnorderedList.Item leadingVisualFill="orange">X icon in orange</UnorderedList.Item>
  <UnorderedList.Item leadingVisualFill="red">X icon in red</UnorderedList.Item>
  <UnorderedList.Item leadingVisualFill="blue">X icon in blue</UnorderedList.Item>
  <UnorderedList.Item leadingVisualFill="purple">X icon in purple</UnorderedList.Item>{' '}
  <UnorderedList.Item variant="muted">Muted text color</UnorderedList.Item>
</UnorderedList>