import React, {useState} from 'react'; import {Button, Layout, Menu, Popover, Typography} from "antd"; import {UserOutlined} from "@ant-design/icons"; const {Sider, Header, Content, Footer} = Layout; const {Paragraph, Text} = Typography; const DesktopLayoutHeader = (props) => { const [clicked, setClicked] = useState(false); return (
Profile { // store.authentication.logout(); // return history.push("/login"); }} > Sign out } title={ info@bangun-kreatif.com Administrator } trigger="click" visible={clicked} onVisibleChange={() => setClicked(!clicked)} >
); }; export default DesktopLayoutHeader;