Ver Fonte

SentAdd

visuddhinanda há 2 anos atrás
pai
commit
1c36a79c2b

+ 7 - 0
dashboard/src/components/template/SentEdit/SentCanRead.tsx

@@ -8,6 +8,7 @@ import { ISentenceListResponse } from "../../api/Corpus";
 
 
 import { ISentence } from "../SentEdit";
 import { ISentence } from "../SentEdit";
 import SentCell from "./SentCell";
 import SentCell from "./SentCell";
+import SentAdd from "./SentAdd";
 interface IWidget {
 interface IWidget {
   book: number;
   book: number;
   para: number;
   para: number;
@@ -81,6 +82,12 @@ const SentCanReadWidget = ({
           onClick={() => load()}
           onClick={() => load()}
         />
         />
       </div>
       </div>
+      <SentAdd
+        book={book}
+        para={para}
+        wordStart={wordStart}
+        wordEnd={wordEnd}
+      />
       {sentData.map((item, id) => {
       {sentData.map((item, id) => {
         return <SentCell data={item} key={id} isPr={false} />;
         return <SentCell data={item} key={id} isPr={false} />;
       })}
       })}