Browse Source

div -> layout

visuddhinanda 3 years ago
parent
commit
ea77e55fea
1 changed files with 8 additions and 2 deletions
  1. 8 2
      dashboard/src/components/nut/Home.tsx

+ 8 - 2
dashboard/src/components/nut/Home.tsx

@@ -7,11 +7,17 @@ import FontBox from "./FontBox";
 import DemoForm from "./Form";
 import TreeTest from "./TreeTest";
 import Share from "../share/Share";
+import ChannelPicker from "../channel/ChannelPicker";
+import { Layout } from "antd";
 
 const Widget = () => {
   return (
-    <div>
+    <Layout>
       <h1>Home</h1>
+      <ChannelPicker
+        type="chapter"
+        articleId="168-867_7fea264d-7a26-40f8-bef7-bc95102760fb"
+      />
       <div>
         <Share resId="dd" resType="dd" />
       </div>
@@ -31,7 +37,7 @@ const Widget = () => {
       <div>
         <ReactMarkdown>*This* is text with `quote`</ReactMarkdown>
       </div>
-    </div>
+    </Layout>
   );
 };