1.0.2 • Published 1 year ago

react-hashtag-mask v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Quick Start

  1. Initialization
npm install react-hashtag-mask
# or
yarn add react-hashtag-mask
  1. Usage
import { InputMask } from 'react-hashtag-mask';

export const MyComponent = () => {
  return (
    <div>
      <InputMask type="number" mask="##/##/#### ##:##" placeholder="Write here..." />
    </div>
  );
};

Notice: returns a pure HTML input, you could put css or do what you would do with a normal input tag

Exemple

Mask Exemple

License

MIT © Yazalde Filimone