Open umaAntier opened 4 months ago
Why not exporting these?
Why not exporting these?
because of these both interfaces are not exportable ....!
so we cannot import it whenever we need to use it.
Agree, the types should be exported
You can use the patch file below for exporting types
diff --git a/node_modules/react-native-raw-bottom-sheet/index.d.ts b/node_modules/react-native-raw-bottom-sheet/index.d.ts
index 5b7ecdb..98fe5b3 100644
--- a/node_modules/react-native-raw-bottom-sheet/index.d.ts
+++ b/node_modules/react-native-raw-bottom-sheet/index.d.ts
@@ -116,3 +116,5 @@ declare const RBSheet: React.ForwardRefExoticComponent<
>;
export default RBSheet;
+export { RBSheetProps, RBSheetRef };
+
RBSheetProps and RBSheetRef make it exportable.