react-native-bottom-sheet
react-native-bottom-sheet copied to clipboard
Can not apply custom styles to BottomSheet.
Hi
I am facing an issue when applying custom styles to the bottom sheet. Below is my code snippet:
<BottomSheet
ref={ref}
modal
closeOnDragDown={false}
disableBodyPanning={true}
android_closeOnBackPress={false}
closeOnBackdropPress={false}
style={{borderRadius: 4}}
>
{children}
</BottomSheet>
Please let me know if there is any other way to implement styles to bottom sheet. Thanks
Hey @kirtanbodawala that's the correct way to add styles and it works.
If you can tell me what you're trying to achieve with style, maybe I can suggest a way to go about it