Skip to content

Commit 505226c

Browse files
authored
docs: enhance useKeyboardState SEO (#959)
## 📜 Description Improved SEO for `useKeyboardState` hook. ## 💡 Motivation and Context I found that people use this search: <img width="572" alt="image" src="https://github.com/user-attachments/assets/adee299b-7897-42e0-b26b-0e5994586e61" /> And don't get results. In reality we have a hook that do that, jsut under a different name: `useKeyboardState`. In this PR I'm fixing it by adding more keywords to this page. ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### Docs - added more `keywords` for `useKeyboardState` page; ## 🤔 How Has This Been Tested? There is no way to test it until google re-indexes the page. ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent e431917 commit 505226c

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

docs/docs/api/hooks/keyboard/use-keyboard-state.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
---
2-
keywords: [react-native-keyboard-controller, useKeyboardState, react hook]
2+
keywords:
3+
[
4+
react-native-keyboard-controller,
5+
useKeyboardState,
6+
useKeyboardVisible,
7+
useKeyboardIsVisible,
8+
useIsKeyboardVisible,
9+
useKeyboardHeight,
10+
useKeyboard,
11+
react hook,
12+
]
313
sidebar_position: 4
414
---
515

docs/versioned_docs/version-1.17.0/api/hooks/keyboard/use-keyboard-state.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
---
2-
keywords: [react-native-keyboard-controller, useKeyboardState, react hook]
2+
keywords:
3+
[
4+
react-native-keyboard-controller,
5+
useKeyboardState,
6+
useKeyboardVisible,
7+
useKeyboardIsVisible,
8+
useIsKeyboardVisible,
9+
useKeyboardHeight,
10+
useKeyboard,
11+
react hook,
12+
]
313
sidebar_position: 4
414
---
515

0 commit comments

Comments
 (0)