Skip to content

Commit fc9b2ec

Browse files
authored
chore: add primary button with icon to button docs (#9871)
1 parent ea74593 commit fc9b2ec

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)