1
1
mirror of https://github.com/primer/css.git synced 2024-12-04 23:07:55 +03:00
css/docs/content/components/branch-name.md
2019-08-12 15:33:06 -07:00

609 B

title path status source bundle
Branch name components/branch-name Stable https://github.com/primer/css/tree/master/src/branch-name branch-name

Branch names can be a link name or not:

<span class="branch-name">a_new_feature_branch</span>
<a href="#url" class="branch-name">a_new_feature_branch</a>

You may also include an octicon before the branch name text:

<span class="branch-name">
  {/* <%= octicon("git-branch", width:16, height:16) %> */}
  <StyledOcticon icon={getIconByName('git-branch')} mr={1} />
  a_new_feature_branch
</span>