import React, { useEffect } from 'react';
import { useNavigate, Link } from 'react-router-dom';
import { observer } from 'mobx-react';
import { Button } from '@mui/material';
import { styled } from '@mui/system';

import { Grey } from '@tool/color/index';
import Style from '@tool/style';
import { FlexPaper } from '@styled/index';

interface IProps {}
interface IState {}

const DPaper = styled(FlexPaper)(() => ({
  flex: 1,
  borderRight: Style.border,
}));

const AppBar = (props: IProps, state: IState) => {
  const navi = useNavigate;

  useEffect(() => {
    return () => {};
  }, []);

  return (
    <DPaper><i>Hello</i></DPaper>
  );
};

export default observer(AppBar);
