Skip to content

Instantly share code, notes, and snippets.

@ovpv

ovpv/app.js

Created Sep 2, 2019
Embed
What would you like to do?
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