Created
September 2, 2019 13:33
-
-
Save ovpv/1bc84ed219aba570ee84cd3f88d934ba to your computer and use it in GitHub Desktop.
app defined for password meter strength
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
/* | |
Password component and Meter components defined here | |
*/ | |
class Application extends React.Component { | |
render() { | |
return ( | |
<div class="container"> | |
<h2 className="text-center mt-5">Password Meter</h2> | |
<div className="d-md-flex justify-content-center mt-5"><Password meter={true} /></div> | |
</div> | |
); | |
} | |
} | |
/* | |
* Render the above component into the div#app | |
*/ | |
React.render(<Application />, document.getElementById('app')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment