浏览代码

html?: string | null;

visuddhinanda 2 年之前
父节点
当前提交
88361730f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dashboard/src/components/template/MdView.tsx

+ 1 - 1
dashboard/src/components/template/MdView.tsx

@@ -3,7 +3,7 @@ import { TCodeConvertor, XmlToReact } from "./utilities";
 const { Paragraph, Text } = Typography;
 const { Paragraph, Text } = Typography;
 
 
 interface IWidget {
 interface IWidget {
-  html?: string;
+  html?: string | null;
   className?: string;
   className?: string;
   placeholder?: string;
   placeholder?: string;
   wordWidget?: boolean;
   wordWidget?: boolean;