import React from "react"; import PropTypes from "prop-types"; const PasswordReq = ({ validPassword, className }) => { const validPasswordCls = validPassword ? "" : " color-destructive"; const passwordCls = ` {${className}}`; return (
Your password must meet the following requirements:
); }; PasswordReq.propTypes = { validPassword: PropTypes.bool, className: PropTypes.string, }; export default PasswordReq;