Skip to content

Commit 271514c

Browse files
Bug Fix #8311 (#8312)
Bug - Label - hrefs in compact example have wrong anchor tag #8311
1 parent bc0ffb9 commit 271514c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-core/src/components/Label/examples/LabelCompact.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ export const LabelCompact: React.FunctionComponent = () => (
1414
<Label isCompact icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
1515
Compact icon removable
1616
</Label>{' '}
17-
<Label isCompact href="#outline">
17+
<Label isCompact href="#compact">
1818
Compact link
1919
</Label>{' '}
20-
<Label isCompact href="#outline" onClose={() => Function.prototype}>
20+
<Label isCompact href="#compact" onClose={() => Function.prototype}>
2121
Compact link removable
2222
</Label>
2323
<Label isCompact icon={<InfoCircleIcon />} onClose={() => Function.prototype} isTruncated>

0 commit comments

Comments
 (0)