esnextbin example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global document */ | |
/** | |
* Customize our own version of styletron until we get a P/R request imported: | |
* | |
* This monkey patches styletron to enable namespacing/wrapping the generated CSS classes from styletron. The generated | |
* class on the html element stays the same. | |
* | |
* ie: `<div class="a" />` has a classname written to the `<style />` of `.WRAP_CLASS a { ... }` | |
* | |
* Usage: |
esnextbin example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global document, navigator */ | |
/** | |
* MaskedInput | |
* | |
* Provides a wrapper to the react-toolbox/lib/input using inputmask-core | |
* | |
* Original Source: https://gist.github.com/romgrk/9513d238e00bb5df60af7b2f661bbe17 | |
* Which had the following comment: | |
* Shamelessly copied from: https://github.com/insin/react-maskedinput (MIT License) | |
*/ |