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

how to disable draggableIcon ? #160

Closed
furqan-hassan110 opened this issue Jan 31, 2023 · 2 comments
Closed

how to disable draggableIcon ? #160

furqan-hassan110 opened this issue Jan 31, 2023 · 2 comments

Comments

@furqan-hassan110
Copy link

<RBSheet
ref={(ref: any) => {
RBSheetRef.current = ref;
}}
animationType={'fade'}
height={350}
closeOnDragDown={true}
closeOnPressMask={true}
customStyles={{
wrapper: {
backgroundColor: 'transparent',
},
draggableIcon: {
backgroundColor: Colors.buttonlogin,
},
container: {
borderTopLeftRadius: 10,
borderTopRightRadius: 10,
},
}}
>

<FormattedMessage style={style.sheetheader} {...messages.sheetheadlabel}>

@eng-naveed
Copy link

A quick hack
draggableIcon: {
display: 'none'
},

@Yasir12598
Copy link

Yasir12598 commented Jul 12, 2023

customStyles={{
draggableIcon: {
  width:0,
  height:0,
  margin:0,
 },
}}

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