export function WithIcon()

in src/stories/ActionList2/fixtures.stories.tsx [86:125]


export function WithIcon(): JSX.Element {
  return (
    <>
      <h1>With Icon</h1>

      <ActionList>
        <ActionList.Item>
          <ActionList.LeadingVisual>
            <LinkIcon />
          </ActionList.LeadingVisual>
          github.com/primer
        </ActionList.Item>
        <ActionList.Item>
          <ActionList.LeadingVisual>
            <LawIcon />
          </ActionList.LeadingVisual>
          MIT License
        </ActionList.Item>
        <ActionList.Item>
          <ActionList.LeadingVisual>
            <StarIcon />
          </ActionList.LeadingVisual>
          256 stars
        </ActionList.Item>
        <ActionList.Item>
          <ActionList.LeadingVisual>
            <RepoForkedIcon />
          </ActionList.LeadingVisual>
          3 forks
        </ActionList.Item>
        <ActionList.Item variant="danger">
          <ActionList.LeadingVisual>
            <AlertIcon />
          </ActionList.LeadingVisual>
          4 vulnerabilities
        </ActionList.Item>
      </ActionList>
    </>
  )
}