Skip to content

Commit ee289d0

Browse files
committed
chore: add doc
1 parent 7dfae9a commit ee289d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The `SpatialNavigationNode` component receives the following props:
5151
| `onFocus` | `function` | `undefined` | Callback function to be called when the node gains focus. |
5252
| `onBlur` | `function` | `undefined` | Callback function to be called when the node loses focus. |
5353
| `onSelect` | `function` | `undefined` | Callback function to be called when the node is selected. |
54+
| `onLongSelect` | `function` | `onSelect` | Callback function to be called when the node is selected with long key press. |
5455
| `onActive` | `function` | `undefined` | Callback function to be called when the node is made active by either itself or one of its descendants gaining focus. |
5556
| `onInactive` | `function` | `undefined` | Callback function to be called when the node was active and due to an updated focus, is no longer active. |
5657
| `orientation` | `'vertical' \| 'horizontal` | `'vertical'` | Determines the orientation of the node. |

0 commit comments

Comments
 (0)