deavial / react-native-dialogbox

Dialog boxes for React Native (forked from react-native-popup)
Other
48 stars 21 forks source link

Specifying height to the dialog box #68

Closed anurag060 closed 5 years ago

anurag060 commented 5 years ago

I am using this.dialogbox.confirm({...}). If the content is more, the dialog box is going beyond the screen height and the buttons are not visible at all. Is there a way to give specific height to the dialog box.

deavial commented 5 years ago

Yes, you can.

const myStyleOverrides = {
     tipBoxView: {
          height: 200
     },
};

<DialogBox style={myStyleOverrides} />