tianji/src/client/pages/Dashboard.tsx
2023-09-02 00:52:43 +08:00

24 lines
598 B
TypeScript

import React from 'react';
import { EditOutlined } from '@ant-design/icons';
import { Button } from 'antd';
import { WebsiteOverview } from '../components/WebsiteOverview';
export const Dashboard: React.FC = React.memo(() => {
return (
<div>
<div className="h-24 flex items-center">
<div className="text-2xl flex-1">Dashboard</div>
<div>
<Button icon={<EditOutlined />} size="large">
Edit
</Button>
</div>
</div>
<div>
<WebsiteOverview />
</div>
</div>
);
});
Dashboard.displayName = 'Dashboard';