title: React mask input with only last 4 digits visibles
body: <p>I'm trying to create a custom input to mask SSN value but I want to hide first values and only show last 4 digits.</p>
  <p>Expected behavior:</p>
  <p><a href="https://i.stack.imgur.com/P37tP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P37tP.png" alt="enter image description here" /></a></p>
  <p>What I get when I use <a href="https://www.npmjs.com/package/react-input-mask" rel="nofollow noreferrer">react-input-mask</a>:</p>
  <p><a href="https://i.stack.imgur.com/KTClN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KTClN.png" alt="enter image description here" /></a></p>
  <p>My code:</p>
  <pre><code>&lt;InputMask maskPlaceholder={null} mask=&quot;9999-99-9999&quot; value={value} onChange={onChange} /&gt;
  </code></pre>