From 907c48601c795a2dc8e80f266635121e61f0019a Mon Sep 17 00:00:00 2001 From: Jorge Galat Date: Sat, 12 Oct 2024 12:44:20 -0400 Subject: [PATCH 1/3] fix: update docs base url --- docs/theme.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/theme.config.js b/docs/theme.config.js index 1fe455b..fe1d82b 100644 --- a/docs/theme.config.js +++ b/docs/theme.config.js @@ -3,7 +3,7 @@ export default { projectLink: 'https://github.com/ammarahm-ed/react-native-actions-sheet', // GitHub link in the navbar docsRepositoryBase: - 'https://github.com/ammarahm-ed/react-native-actions-sheet', // base URL for the docs repository + 'https://github.com/ammarahm-ed/react-native-actions-sheet/tree/master/docs/pages', // base URL for the docs repository nextLinks: true, prevLinks: true, search: true, From 00ebb458ccf62b7ce1acf5b90d2bc6a4f03489fb Mon Sep 17 00:00:00 2001 From: Jorge Galat Date: Sat, 12 Oct 2024 12:44:42 -0400 Subject: [PATCH 2/3] fix: use correct pkg name --- docs/pages/guides/migrate.mdx | 4 ++-- docs/pages/installation.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/guides/migrate.mdx b/docs/pages/guides/migrate.mdx index 4b7662e..13e1a82 100644 --- a/docs/pages/guides/migrate.mdx +++ b/docs/pages/guides/migrate.mdx @@ -6,10 +6,10 @@ v0.9.0 does not include any huge breaking changes to the API however there are s ### Dependencies -The library now depends on `react-native-gesture-handlers` library which is usually already installed in almost every React Native project. +The library now depends on `react-native-gesture-handler` library which is usually already installed in almost every React Native project. ``` -npm install react-native-gesture-handlers +npm install react-native-gesture-handler ``` ### `Registering sheets` diff --git a/docs/pages/installation.mdx b/docs/pages/installation.mdx index 11380de..973796e 100644 --- a/docs/pages/installation.mdx +++ b/docs/pages/installation.mdx @@ -1,6 +1,6 @@ # Installation -Install the ActionSheet with `yarn` or `npm`. You will also need to install `react-native-gesture-handlers` if you haven't already. +Install the ActionSheet with `yarn` or `npm`. You will also need to install `react-native-gesture-handler` if you haven't already. ```fish npm install react-native-actions-sheet react-native-gesture-handler --save From b326c20986f4a93110d26dd73ec2cefb35308447 Mon Sep 17 00:00:00 2001 From: Jorge Galat Date: Sat, 12 Oct 2024 13:08:53 -0400 Subject: [PATCH 3/3] fix: sheet manager hide doc --- src/sheetmanager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sheetmanager.tsx b/src/sheetmanager.tsx index a12e448..3f93484 100644 --- a/src/sheetmanager.tsx +++ b/src/sheetmanager.tsx @@ -143,7 +143,7 @@ class _SheetManager { /** * An async hide function. This is useful when you want to show one ActionSheet after closing another. * - * @param id id of the ActionSheet to show + * @param id id of the ActionSheet to hide * @param data */ async hide(