Skip to content

Commit cab75ce

Browse files
committed
ActionMenu docs: Replace Button1 with Button2 ✨
1 parent 561aad8 commit cab75ce

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/content/ActionMenu.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ You can choose to have a different _anchor_ for the Menu dependending on the app
7979
```jsx live
8080
<ActionMenu>
8181
<ActionMenu.Anchor>
82-
<ButtonInvisible aria-label="Open column options">
83-
<KebabHorizontalIcon />
84-
</ButtonInvisible>
82+
<IconButton icon={KebabHorizontalIcon} variant="invisible" aria-label="Open column options" />
8583
</ActionMenu.Anchor>
8684

8785
<ActionMenu.Overlay>
@@ -293,9 +291,9 @@ render(
293291

294292
### ActionMenu.Button
295293

296-
| Type | Default | Description |
297-
| :----------------------------------------------- | :-----: | :---------------------------------------------------------------------------------------------------------------- |
298-
| [Button v2 props](/drafts/Button2#api-reference) | - | You can pass all of the props that you would pass to a [`Button`](/drafts/Button2) component like `variant`, `sx` |
294+
| Type | Default | Description |
295+
| :------------------------------------ | :-----: | :-------------------------------------------------------------------------------------------------------- |
296+
| [Button props](/Button#api-reference) | - | You can pass all of the props that you would pass to a [`Button`](/Button) component like `variant`, `sx` |
299297
300298
### ActionMenu.Anchor
301299
@@ -340,4 +338,4 @@ render(
340338

341339
- [ActionList](/ActionList)
342340
- [SelectPanel](/SelectPanel)
343-
- [Button](/drafts/Button2)
341+
- [Button](/Button)

0 commit comments

Comments
 (0)