Skip to content

docs: minor fixes #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/pages/guides/migrate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/installation.mdx
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/theme.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/sheetmanager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<SheetId extends keyof Sheets>(
Expand Down