mirror of
https://github.com/expo/react-native-action-sheet.git
synced 2026-11-15 09:18:06 -10:00
📝 (readme) fix README
This commit is contained in:
1 parent
3b26304031
commit
eacda36ec0
1 file changed
+2
-2
@@ -14,7 +14,7 @@ yarn add @expo/react-native-action-sheet
|
||||
|
||||
## A basic ActionSheet Setup
|
||||
|
||||
1. import connectActionSheet function and connect your component which uses showActionSheetWithOptions.
|
||||
### 1. import connectActionSheet function and connect your component which uses showActionSheetWithOptions.
|
||||
```es6
|
||||
import { connectActionSheet } from '@expo/react-native-action-sheet';
|
||||
|
||||
@@ -49,7 +49,7 @@ _onOpenActionSheet = () => {
|
||||
};
|
||||
```
|
||||
|
||||
2. import ActionSheetProvider and wrap your top-level component with `<ActionSheetProvider />`
|
||||
### 2. import ActionSheetProvider and wrap your top-level component with `<ActionSheetProvider />`
|
||||
|
||||
```es6
|
||||
|
||||
|
||||
Reference in new issue
Block a user