Skip to content

Commit 17c6318

Browse files
BranchName: Update storybook (#7182)
Co-authored-by: Copilot <[email protected]>
1 parent 76c74b6 commit 17c6318

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/react/src/BranchName/BranchName.features.stories.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,12 @@ export const WithBranchIcon = () => (
1919
)
2020

2121
export const NotALink = () => <BranchName as="span">branch_name_as_span</BranchName>
22+
23+
export const LinkWithoutHref = () => (
24+
<div style={{display: 'flex', flexDirection: 'column', gap: '8px', alignItems: 'flex-start'}}>
25+
<BranchName as="a">branch_name_as_a</BranchName>
26+
<BranchName>branch_name_no_as</BranchName>
27+
</div>
28+
)
29+
30+
export const NoProps = () => <BranchName>branch_name_no_props</BranchName>

0 commit comments

Comments
 (0)