DefinitelyTyped/react-input-mask/react-input-mask-tests.tsx
2017-02-23 07:15:16 -08:00

11 lines
398 B
TypeScript

import * as 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>;