Skip to content

Commit 74fd592

Browse files
committed
Tweak the README
1 parent d83632b commit 74fd592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Greenkeeper badge](https://badges.greenkeeper.io/sparksuite/react-accessible-dropdown-menu-hook.svg)](https://greenkeeper.io/)
44

5-
This Hook handles all the accessibility logic when building a dropdown menu, dropdown button, etc., and leaves the design completely up to you.
5+
This Hook handles all the accessibility logic when building a dropdown menu, dropdown button, etc., and leaves the design completely up to you. [View the demo.](http://sparksuite.github.io/react-accessible-dropdown-menu-hook)
66

77
## Getting started
88

@@ -22,7 +22,7 @@ Import the Hook:
2222
import useDropdownMenu from 'react-accessible-dropdown-menu-hook';
2323
```
2424

25-
Call the Hook in the top level of your component:
25+
Call the Hook, telling it how many items your menu will have.
2626

2727
```tsx
2828
const [buttonProps, itemProps, isOpen] = useDropdownMenu(numberOfItems);

0 commit comments

Comments
 (0)