react-native-bottom-sheet icon indicating copy to clipboard operation
react-native-bottom-sheet copied to clipboard

Can not apply custom styles to BottomSheet.

Open kirtanbodawala opened this issue 1 year ago • 1 comments

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

kirtanbodawala avatar May 17 '24 17:05 kirtanbodawala

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

stanleyugwu avatar Oct 29 '24 16:10 stanleyugwu