visuddhinanda 2 tahun lalu
induk
melakukan
f975143983
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      dashboard/src/components/template/MdTpl.tsx

+ 3 - 0
dashboard/src/components/template/MdTpl.tsx

@@ -13,6 +13,7 @@ import SentEdit from "./SentEdit";
 import SentRead from "./SentRead";
 import SentRead from "./SentRead";
 import Term from "./Term";
 import Term from "./Term";
 import Toggle from "./Toggle";
 import Toggle from "./Toggle";
+import Video from "./Video";
 import WbwSent from "./WbwSent";
 import WbwSent from "./WbwSent";
 import Wd from "./Wd";
 import Wd from "./Wd";
 
 
@@ -57,6 +58,8 @@ const Widget = ({ tpl, props, children }: IWidgetMdTpl) => {
       return <ParaShell props={props ? props : ""}>{children}</ParaShell>;
       return <ParaShell props={props ? props : ""}>{children}</ParaShell>;
     case "qa":
     case "qa":
       return <Qa props={props ? props : ""} />;
       return <Qa props={props ? props : ""} />;
+    case "video":
+      return <Video props={props ? props : ""} />;
     default:
     default:
       return <>未定义模版({tpl})</>;
       return <>未定义模版({tpl})</>;
   }
   }