How to create slider in React Native?
<p>I am currently working on slider control in React Native app.</p>

<p>Here is my code:</p>

<pre class="lang-js prettyprint-override"><code> &lt;SliderIOS style={styles.sliderConfigurationView}
                     onValueChange={(age) =&gt;this.setState({value:age})}
                     maximumValue={100.0}
                     minimumValue={0.0} /&gt;

 sliderConfigurationView: {
    height: 20,
    flex: 1,
    margin: 6
 },
</code></pre>

<p>But slider control is not displayed.</p>

<p>This is the screen what I am getting:</p>

<p><img src="https://i.stack.imgur.com/pMvBE.png" alt="I am getting a red line instead of slider."></p>

<p>As you can see I am getting a read line instead of slider.</p>

<p>If anyone knows how to display slider control, please let me know.</p>