Skip to content

Commit 414a040

Browse files
author
SergeyMild
committed
fix imports
1 parent 41911aa commit 414a040

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-sheet",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"description": "Native implementation of Bottom sheet",
55
"main": "src/index",
66
"module": "src/index",

src/index.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FittedSheetParams } from './FittedSheet';
1+
import type { FittedSheetParams } from './FittedSheet';
22
import {
33
PublicSheetView,
44
type FittedSheetRef,
@@ -7,6 +7,11 @@ import {
77
attachScrollViewToFittedSheet,
88
} from './PublicSheetView';
99

10-
export { PublicSheetView as FittedSheet, type FittedSheetRef };
11-
12-
export type { FittedSheetParams };
10+
export {
11+
PublicSheetView as FittedSheet,
12+
type FittedSheetRef,
13+
presentFittedSheet,
14+
dismissFittedSheet,
15+
attachScrollViewToFittedSheet,
16+
type FittedSheetParams,
17+
};

0 commit comments

Comments
 (0)