Skip to content
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

Fix: drawer navigation example #133

Merged
merged 1 commit into from
Nov 10, 2021
Merged
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
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