UNPKG

redux-auth

Version:

Complete token authentication system for react + redux.

22 lines (19 loc) 563 B
import React from "react"; import { hideUpdatePasswordSuccessModal } from "../../../actions/ui"; import Modal from "./Modal"; class UpdatePasswordSuccessModal extends React.Component { render () { return ( <Modal show={this.props.show} containerClass="update-password-success-modal" closeAction={hideUpdatePasswordSuccessModal} title="Success"> <p> Your password has been successfully changed. </p> </Modal> ); } } export default UpdatePasswordSuccessModal;