feat(web): 搭建应用骨架并完善开发环境配置
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { Card, Empty } from 'antd';
|
||||
|
||||
interface PagePlaceholderProps {
|
||||
title: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
/** 业务模块实现前的统一占位页 */
|
||||
const PagePlaceholder = ({ title, description }: PagePlaceholderProps) => (
|
||||
<Card>
|
||||
<Empty
|
||||
image={Empty.PRESENTED_IMAGE_SIMPLE}
|
||||
description={
|
||||
<>
|
||||
<div>{title}</div>
|
||||
<div>{description}</div>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
</Card>
|
||||
);
|
||||
|
||||
export default PagePlaceholder;
|
||||
Reference in New Issue
Block a user