title: How to enter only an integer value in TextInput with type="number"
body: <p>I want to use material-UI TextInput to enter only integer values (not decimal values).
  I used the TextInput as follows, but it still allows the decimal number.</p>
  <p>How can I do that?</p>
  <pre><code>&lt;TextField id=&quot;outlined-value&quot; 
             type=&quot;number&quot;
             label=&quot;Value&quot; 
             className={classes.standartInputMargin}
             value={this.state.allowedValue}
             margin=&quot;normal&quot; 
             variant=&quot;outlined&quot;
             onChange={(event) =&gt; Number.isInteger(event.target.value) 
                 ? this.setState({ allowedValue: event.target.value }) 
                 : null} /&gt;
  </code></pre>