deavial/react-native-dialogbox

Specifying height to the dialog box

anurag060 opened this issue · 1 comments

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.

Yes, you can.

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

<DialogBox style={myStyleOverrides} />