Skip to content

Commit

Permalink
Update docs for useActiveNode
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesplease committed Mar 8, 2022
1 parent d6aac6d commit 52bd897
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -226,7 +226,9 @@ export default function MyComponent() {
### `useActiveNode()`
A [Hook](https://reactjs.org/docs/hooks-intro.html) that returns the active focus node, or `null` if no node is active.
A [Hook](https://reactjs.org/docs/hooks-intro.html) that returns the [active focus node](./guides/active.md), or `null` if
no node is active. As a reminder, the active node is whatever node was selected last (similar to how interactive elements
in the DOM become active after being clicked).
```js
import { useActiveNode } from '@please/lrud';
Expand Down

0 comments on commit 52bd897

Please sign in to comment.