Skip to content

Commit da87157

Browse files
committed
updated docs
1 parent f4f1737 commit da87157

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/design/options.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ You can customize the behavior with options, passed as the second argument.
66

77
Option | Default | Possible values
88
:--- | :--- | :---
9-
`disableFocusFirstItemOnClick` | `false` | `boolean`
9+
`focusFirstItemOnClick` | `false` | `boolean`
1010

1111
Option | Explanation
1212
:--- | :---
13-
`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.
13+
`focusFirstItemOnClick` | If specified as `true` the first menu item will be focused on click as well as on keyboard interaction.
1414

1515
```js
1616
useDropdownMenu(numberOfItems, {
17-
disableFocusFirstItemOnClick: true,
17+
focusFirstItemOnClick: true,
1818
});
1919
```

0 commit comments

Comments
 (0)