Skip to content

Commit c8ae0d6

Browse files
committed
Remove variable instantiation from "Options" page
1 parent 5f9b696 commit c8ae0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/design/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Option | Explanation
1313
`disableFocusFirstItemOnClick` | If specified as `true` the default behavior of focusing the first menu item on click will be disabled. The menu button will instead retain focus.
1414

1515
```js
16-
const { buttonProps, itemProps, isOpen, setIsOpen } = useDropdownMenu(numberOfItems, {
16+
useDropdownMenu(numberOfItems, {
1717
disableFocusFirstItemOnClick: true,
1818
});
1919
```

0 commit comments

Comments
 (0)