instacart / Snacks

The Instacart Component Library
https://instacart.github.io/Snacks/
Apache License 2.0
81 stars 36 forks source link

Expose some 'react-text-mask' props on the MaskedTextField component #407

Closed seanmheff closed 4 years ago

seanmheff commented 4 years ago

Expose some props on react-text-mask so consuming applications can tweak the mask behaviour.

The exposed props are optional, and default to the existing hardcoded props.

Needed to fork the repo as I don't have write permissions to instacart/snacks

codecov[bot] commented 4 years ago

Codecov Report

Merging #407 into master will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #407   +/-   ##
=======================================
  Coverage   83.84%   83.84%           
=======================================
  Files          62       62           
  Lines        1300     1300           
  Branches      230      230           
=======================================
  Hits         1090     1090           
  Misses        159      159           
  Partials       51       51