Skip to content

Commit

Permalink
ActionMenu docs: Replace Button1 with Button2 ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp committed Mar 7, 2022
1 parent 561aad8 commit cab75ce
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/content/ActionMenu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ You can choose to have a different _anchor_ for the Menu dependending on the app
```jsx live
<ActionMenu>
<ActionMenu.Anchor>
<ButtonInvisible aria-label="Open column options">
<KebabHorizontalIcon />
</ButtonInvisible>
<IconButton icon={KebabHorizontalIcon} variant="invisible" aria-label="Open column options" />
</ActionMenu.Anchor>

<ActionMenu.Overlay>
Expand Down Expand Up @@ -293,9 +291,9 @@ render(

### ActionMenu.Button

| Type | Default | Description |
| :----------------------------------------------- | :-----: | :---------------------------------------------------------------------------------------------------------------- |
| [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` |
| Type | Default | Description |
| :------------------------------------ | :-----: | :-------------------------------------------------------------------------------------------------------- |
| [Button props](/Button#api-reference) | - | You can pass all of the props that you would pass to a [`Button`](/Button) component like `variant`, `sx` |
### ActionMenu.Anchor
Expand Down Expand Up @@ -340,4 +338,4 @@ render(

- [ActionList](/ActionList)
- [SelectPanel](/SelectPanel)
- [Button](/drafts/Button2)
- [Button](/Button)

0 comments on commit cab75ce

Please sign in to comment.