/** @format */ import { FunctionComponent, useEffect, useState } from "react"; import { Avatar, Card, Empty, List, Skeleton } from "antd"; import { AntDesignOutlined, BankOutlined, BulbOutlined, EnvironmentOutlined, } from "@ant-design/icons"; import styles from "./index.module.less"; import { ProCard } from "@ant-design/pro-components"; import Meta from "antd/es/card/Meta"; import gitee from "@/assets/icons/gitee.svg"; import { Link } from "react-router-dom"; const UserInfo: FunctionComponent = () => { const [loading, setLoading] = useState(true); const data = [ { title: "Ant Design Title 1", }, { title: "Ant Design Title 2", }, { title: "Ant Design Title 3", }, { title: "Ant Design Title 4", }, ]; useEffect(() => { setTimeout(() => { setLoading(false); }, 2000); }, []); return ( <>
} /> 用户名
前端架构师
成都
成都市上城
查看更多}> } title="Card title" description="This is the description" /> } title="Card title" description="This is the description" />
查看更多}> ( } title={{item.title}} description="Ant Design, a design language for background applications, is refined by Ant UED Team" /> )} />
); }; export default UserInfo;