Set width and height to React-native modal
<p>I can't configure modal height and width using <strong><code>style</code></strong> property. Is there any other way to set modal height and width?</p>

<pre><code> &lt;Modal style={{height: 300, width: 300}}
        visible={this.state.isVisible}
        onRequestClose={this.closeModal}&gt;
 &lt;/Modal&gt;
</code></pre>

<p>The code above doesn't work.</p>