18 lines
570 B
JavaScript
18 lines
570 B
JavaScript
import React from 'react';
|
|
import { URLs } from "../../__data__/urls";
|
|
import ActionButton from "./ActionButton.jsx";
|
|
|
|
const AccountButtons = (props) => {
|
|
return (
|
|
<div className="account-buttons">
|
|
<ActionButton title={"Exit"} action={props.exitHandler}/>
|
|
<ActionButton title={"Change Name"} action={props.changeNameHandler}/>
|
|
<ActionButton title={"Change Pass"} action={props.changePassHandler}/>
|
|
|
|
<a className="MyButton mclaren-regular" href={URLs.home.url}>Back</a>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default AccountButtons;
|