seethroughdev/react-ux-password-field

using it directly on bower

arthurtsang opened this issue · 1 comments

i tried to put this on my index.html

<script src="https://rawgit.com/seethroughtrees/react-ux-password-field/master/lib/react-ux-password-field.js"></script>

and in the jsx, when i try to use the InputPassword, i can't, cause it's exported as react-ux-password-field. I work around this by saving the script locally and modify the exports and root name to something without dash in the beginning of the webpack module definition.

sorry, i'm not well versed in javascript but i hope i described my issue clear enough.

ah, figured it out. windows['react-ux-password-field'] works.