Skip to content

Commit

Permalink
Update installation.md (#3292)
Browse files Browse the repository at this point in the history
Corrected wrapper snippet importation

## Description

<!--
Description and motivation for this PR.

Include 'Fixes #<number>' if this is fixing some issue.
-->

## Test plan

<!--
Describe how did you test this change here.
-->
  • Loading branch information
kralion authored Dec 16, 2024
1 parent 701e0bc commit a6e72e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/fundamentals/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Setting up `react-native-gesture-handler` is pretty straightforward:
### 2. Wrap your app with `GestureHandlerRootView` component

```jsx
import { GestureHandlerRootView } from 'react-native-gesture-handler`;
import { GestureHandlerRootView } from 'react-native-gesture-handler';

export default function App() {
return (
Expand Down Expand Up @@ -80,7 +80,7 @@ Setting up Gesture Handler on Android doesn't require any more steps. Keep in mi

```jsx
import { Modal } from 'react-native';
import { GestureHandlerRootView } from 'react-native-gesture-handler`;
import { GestureHandlerRootView } from 'react-native-gesture-handler';

export function CustomModal({ children, ...rest }) {
return (
Expand Down

0 comments on commit a6e72e8

Please sign in to comment.