CourseNewLoading.tsx 453 B

123456789101112131415161718
  1. import { Skeleton } from "antd";
  2. const CourseNewLoading = () => {
  3. return (
  4. <div style={{ display: "flex", width: "100%" }}>
  5. {[1, 1, 1, 1].map((_item, _id) => {
  6. return (
  7. <div style={{ height: 400, flex: 2 }}>
  8. <Skeleton.Image active={true} />
  9. <Skeleton title={{ width: 40 }} paragraph={{ rows: 2 }} active />
  10. </div>
  11. );
  12. })}
  13. </div>
  14. );
  15. };
  16. export default CourseNewLoading;