@@ -19,6 +19,7 @@ import {
1919 ActionMenuMenuAlignmentProp ,
2020 ActionMenuMenuSideProp ,
2121 ActionMenuModeProp ,
22+ ActionMenuButtonVariantsProp ,
2223} from ' ./react'
2324
2425``` js
@@ -77,11 +78,6 @@ render(<App />)
7778
7879In this ` mode ` , the ` ActionMenu ` can be shown as a split button with an action (left) and dropdown button (right) with an additional list of actions.
7980
80- <Note >
81- In split-button mode, each action must be rendered as a link element using the as="a" prop, including the main button
82- and all menu items.
83- </Note >
84-
8581``` jsx live
8682< ActionMenu mode= " split-button" >
8783 < ActionMenu .Button variant= " subtle" as= " a" href= " #location-for-link" leadingVisual= {< StarIcon / > }>
@@ -144,11 +140,14 @@ In this `mode`, the `ActionMenu` can be shown as a split button with an action (
144140
145141### ActionMenu.Button <Label >Required</Label >
146142
147- | name | type | default | required | description |
148- | ----------- | -------------- | ------- | -------- | ---------------------------------- |
149- | ` className ` | ` string ` | | | Sets a custom class on the element |
150- | ` children ` | ` ReactElement ` | | |
151- | ` id ` | ` string ` | | | Sets a custom ` id ` |
143+ | name | type | default | required | description |
144+ | --------------- | -------------------------------- | ----------- | -------- | ------------------------------------------------ |
145+ | ` className ` | ` string ` | | | Sets a custom class on the element |
146+ | ` children ` | ` ReactElement ` | | | |
147+ | ` id ` | ` string ` | | | Sets a custom ` id ` |
148+ | ` variant ` | <ActionMenuButtonVariantsProp /> | | ` false ` | Sets the button styling variation |
149+ | ` onClick ` | ` (event: MouseEvent) => void ` | ` undefined ` | ` false ` | Handles activation of the button |
150+ | ` leadingVisual ` | ` ReactElement ` | ` undefined ` | ` false ` | Renders a leading visual before the button label |
152151
153152### ActionMenu.Overlay <Label >Required</Label >
154153
0 commit comments