mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-29 11:19:52 +08:00
增加缺省页组件
This commit is contained in:
12
src/compenents/empty/index.tsx
Normal file
12
src/compenents/empty/index.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import styles from "./index.module.scss";
|
||||
import React from "react";
|
||||
import { Image } from "antd";
|
||||
import empty from "../../assets/images/commen/empty.png";
|
||||
|
||||
export const Empty: React.FC = () => {
|
||||
return (
|
||||
<div className={styles["img-box"]}>
|
||||
<Image src={empty} width={400} height={400} preview={false} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user