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

RBSheetProps and RBSheetRef #189

Open
umaAntier opened this issue Jul 4, 2024 · 4 comments
Open

RBSheetProps and RBSheetRef #189

umaAntier opened this issue Jul 4, 2024 · 4 comments

Comments

@umaAntier
Copy link

RBSheetProps and RBSheetRef make it exportable.

@jayarjo
Copy link

jayarjo commented Jul 28, 2024

Why not exporting these?

@umaAntier
Copy link
Author

umaAntier commented Aug 9, 2024

Why not exporting these?

Screenshot 2024-08-09 at 11 14 34 AM

because of these both interfaces are not exportable ....!

so we cannot import it whenever we need to use it.

@ncoen97
Copy link

ncoen97 commented Aug 16, 2024

Agree, the types should be exported

@BRTZL
Copy link

BRTZL commented Sep 26, 2024

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 };
+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants