Skip to content

Commit

Permalink
Merge pull request #133 from GeekyAnts/fix/drawer-nav-example
Browse files Browse the repository at this point in the history
Fix: drawer navigation example
  • Loading branch information
Ajamuar authored Nov 10, 2021
2 parents 2b2afbe + 5c0ad9e commit 108482b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/buildingDrawerNavigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Common pattern in navigation is to use drawer from left (sometimes right) side f

Here is an example to show how easily and quickly we can use React Native's [DrawerNavigation](https://reactnavigation.org/docs/drawer-based-navigation/) in NB.

```SnackPlayer name=Drawer-Navigation dependencies=@react-navigation/drawer,@react-navigation/[email protected],react-native-vector-icons,react-native-gesture-handler@~1.10.2,react-native-linear-gradient,@react-native-community/[email protected],react-native-screens@~3.4.0,react-native-reanimated@~2.2.0
```SnackPlayer name=Drawer-Navigation dependencies=@react-navigation/drawer,@react-navigation/[email protected],react-native-vector-icons,react-native-gesture-handler@~1.10.2,react-native-linear-gradient,@react-native-community/[email protected],react-native-screens@~3.8.0,react-native-reanimated@~2.2.0
import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import {
Expand Down
6 changes: 3 additions & 3 deletions docs/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ When you use the ButtonGroup component, it allows you to:
- Add spacing between the buttons.
- Flush the buttons together by removing the border radius of the its children as needed.

```ComponentSnackPlayer path=primitives,ButtonGroup,basic.tsx
```ComponentSnackPlayer path=components,primitives,ButtonGroup,basic.tsx

```

Expand All @@ -66,9 +66,9 @@ When you use the ButtonGroup component, it allows you to:

```

## Props
## Props

### Button
### Button

```ComponentPropTable path=primitives,Button,Button.tsx

Expand Down

0 comments on commit 108482b

Please sign in to comment.