Skip to content

Commit 9372d36

Browse files
committed
feat: add primary button with icon to button docs
1 parent c9ead43 commit 9372d36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-core/src/components/Button/examples/ButtonVariations.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ export const ButtonVariations: React.FunctionComponent = () => (
1010
<Button variant="primary" ouiaId="Primary">
1111
Primary
1212
</Button>{' '}
13+
<Button variant="primary" icon={<ExternalLinkSquareAltIcon />} ouiaId="PrimaryWithIcon">
14+
Primary with icon
15+
</Button>{' '}
1316
<Button variant="secondary" ouiaId="Secondary">
1417
Secondary
1518
</Button>{' '}

0 commit comments

Comments
 (0)