Просмотр исходного кода

相关链接 Title-》Paragraph

visuddhinanda 2 лет назад
Родитель
Сommit
264aa26568
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      dashboard/src/components/library/FooterBar.tsx

+ 3 - 4
dashboard/src/components/library/FooterBar.tsx

@@ -1,9 +1,8 @@
 import { Link } from "react-router-dom";
 import { Layout, Row, Col, Typography } from "antd";
-import CreateFeedback from "../feedback/CreateFeedback";
 
 const { Footer } = Layout;
-const { Title } = Typography;
+const { Paragraph } = Typography;
 
 const FooterBarWidget = () => {
   //Library foot bar
@@ -12,7 +11,7 @@ const FooterBarWidget = () => {
     <Footer>
       <Row>
         <Col span={8}>
-          <Title level={5}>相关链接</Title>
+          <Paragraph strong>相关链接</Paragraph>
           <ul>
             <li>
               <Link to="www.github.com/iapt-platform/mint" target="_blank">
@@ -23,7 +22,7 @@ const FooterBarWidget = () => {
           </ul>
         </Col>
         <Col span={16}>
-          <Title level={5}>问题反馈</Title>
+          <Paragraph strong>问题反馈</Paragraph>
         </Col>
       </Row>
       <Row>