title: How to disable keyboard in react native
body: <p>I created a screen keyboard component that I want to disable the platform's keyboard, how I can disable it?</p>
  <pre class="lang-html prettyprint-override"><code>&lt;TextInput
    secureTextEntry
    ref=&quot;Pin&quot;
    selectionColor=&quot;#656565&quot;
    keyboardType=&quot;numeric&quot;
    activeColor=&quot;#656565&quot;
    inactiveColor=&quot;#fff&quot;
    autoFocus={false}
    ignoreCase
    codeLength={4}
    inputPosition=&quot;center&quot;
    size={50}
    onFulfill={isValid =&gt; this}
    codeInputStyle={{ borderWidth: 1.5 }}
  /&gt;
  </code></pre>