DefinitelyTyped/types/react-input-mask/react-input-mask-tests.tsx
2017-06-17 17:09:14 +03:00

11 lines
393 B
TypeScript

import ReactInputMask from 'react-input-mask';
import * as React from 'react';
<div>
<ReactInputMask mask="+4\9 99 999 99" maskChar={null} />
<ReactInputMask mask="+7 (999) 999-99-99" />
<ReactInputMask mask="99-99-9999" defaultValue= "13-00-2017" />
<ReactInputMask mask="99/99/9999" placeholder= "Enter birthdate" />
<ReactInputMask mask="+7 (999) 999-99-99" />
</div>;