Skip to content

A React component to render input masking for a duration: days, hours, minutes, seconds

License

Notifications You must be signed in to change notification settings

nijk/react-duration-input-mask

Repository files navigation

React Duration Input Mask

npm version Build Status codecov Bundle size License

Install

npm install react-duration-input-mask or yarn add react-duration-input-mask

Documentation

You can find the docs and demos here

Contributing

contributions welcome

Development

Runs the docz dev server with file watching:

yarn start

Git

To avoid issues with merge conflicts on .size-snapshot.json, set a merge driver: git config merge.ours.driver true

Tests

Run on push via husky and can be run separately:

yarn test

Or using file watch mode:

yarn run test:dev

Linting

Run on commit via husky and can be run separately:

yarn run lint

Publish

Publish to npm registry from master

Patch version

yarn version --patch && git push origin --tags

Minor version

yarn version --minor && git push origin --tags

Major version

yarn version --major && git push origin --tags

About

A React component to render input masking for a duration: days, hours, minutes, seconds

Resources

License

Stars

Watchers

Forks

Packages

No packages published