You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/next-docs/content/components/ButtonGroup/react.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ import {ActionMenu, Button, ButtonGroup} from '@primer/react-brand'
19
19
20
20
### Default
21
21
22
-
This is the default variant for the ButtonGroup component. The first item in the group uses the primary button variant and the second uses the subtle button variant.
22
+
This is the default variant for the ButtonGroup component. The first item in the group uses the primary button variant and the second uses the secondary button variant.
Copy file name to clipboardExpand all lines: apps/next-docs/content/components/Hero/react.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ import {ActionMenu, Button, Hero} from '@primer/react-brand'
37
37
<Button as="a" href="#">
38
38
Primary action
39
39
</Button>
40
-
<Button as="a" href="#" variant="secondary">
40
+
<Button as="a" href="#">
41
41
Secondary action
42
42
</Button>
43
43
</Hero.ButtonGroup>
@@ -46,7 +46,7 @@ import {ActionMenu, Button, Hero} from '@primer/react-brand'
46
46
47
47
### Action menus
48
48
49
-
`Hero.ButtonGroup` accepts up to two `Button` or `ActionMenu` children and applies the primary variant to the first item and the subtle variant to the second. Set `variant` on `Button` or `ActionMenu.Button` to override it.
49
+
`Hero.ButtonGroup` accepts up to two `Button` or `ActionMenu` children and applies the primary variant to the first item and the secondary variant to the second. Set `variant` on `Button` or `ActionMenu.Button` to override it.
0 commit comments