We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d8f424 + 7fa7fe3 commit 9d30773Copy full SHA for 9d30773
docs/pages/guides/sheetmanager.mdx
@@ -27,7 +27,7 @@ export default ExampleSheet;
27
Create a `sheets.tsx` file and import your sheet then register it.
28
29
```ts
30
-import {registerSheet} from 'react-native-actions-sheet';
+import {registerSheet, SheetDefinition} from 'react-native-actions-sheet';
31
import ExampleSheet from 'example-sheet.tsx';
32
33
registerSheet('example-sheet', ExampleSheet);
@@ -39,8 +39,6 @@ declare module 'react-native-actions-sheet' {
39
'example-sheet': SheetDefinition;
40
}
41
42
-
43
-export {};
44
```
45
46
In `App.js` import `sheets.tsx` and wrap your app in `SheetProvider`.
0 commit comments