BranchName
BranchName is a label-type component rendered as an <a> tag by default that displays the name of a branch.
Page navigation navigation
React
ready
Figma
React examples
Default
Not a link
BranchName is rendered as a link by default. You can also represent the branch label in plain text.
With a branch icon
Include the branch icon when using the component in isolation and in places where users can't easily determine whether the label represents a branch from the surrounding context.
Props
BranchName
| Name | Default | Description | 
|---|---|---|
| ref  | React.RefObject<HTMLAnchorElement> | |
| as  | "a" | React.ElementType |