joyent-portal/packages/my-joy-navigation/src/containers/account.js

12 lines
249 B
JavaScript
Raw Normal View History

2018-03-28 16:26:25 +03:00
import React from 'react';
import { Anchor, Popover } from '../components';
const Account = ({ expanded }) =>
expanded ? (
<Popover>
2018-03-29 16:49:23 +03:00
<Anchor href="/navigation/logout">Log Out</Anchor>
2018-03-28 16:26:25 +03:00
</Popover>
) : null;
export default Account;