Skip to content

Instantly share code, notes, and snippets.

@ovpv
Created September 2, 2019 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ovpv/1bc84ed219aba570ee84cd3f88d934ba to your computer and use it in GitHub Desktop.
Save ovpv/1bc84ed219aba570ee84cd3f88d934ba to your computer and use it in GitHub Desktop.
app defined for password meter strength
/*
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