Skip to content

Commit aa7712c

Browse files
committed
update description
1 parent 5a74246 commit aa7712c

File tree

1 file changed

+4
-0
lines changed
  • packages/react-core/src/components/Dropdown/examples

1 file changed

+4
-0
lines changed

packages/react-core/src/components/Dropdown/examples/Dropdown.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ To provide users with more context about a `<DropdownItem>`, pass a short messag
6868

6969
To combine a checkbox or other control with a dropdown menu, use a split button.
7070

71+
A `<MenuToggle>` can be rendered as a split button via `splitButtonItems`. Elements to be displayed before the dropdown toggle button (like the `<MenuToggleCheckbox>`) must be included in the `splitButtonItems`.
72+
73+
If the dropdown menu closes upon selection, you will need to manually shift focus back to the toggle element after a user selects an item from the menu.
74+
7175
```ts file="./DropdownWithSplit.tsx"
7276

7377
```

0 commit comments

Comments
 (0)