visuddhinanda 2 лет назад
Родитель
Сommit
c24fb449eb
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      dashboard/src/components/template/WbwSent.tsx

+ 2 - 1
dashboard/src/components/template/WbwSent.tsx

@@ -9,6 +9,7 @@ import { ArticleMode } from "../article/Article";
 import WbwWord, {
   IWbw,
   IWbwFields,
+  TWbwDisplayMode,
   WbwElement,
   WbwStatus,
 } from "./Wbw/WbwWord";
@@ -78,7 +79,7 @@ interface IWidget {
   wordEnd: number;
   channelId: string;
   channelType?: TChannelType;
-  display?: "block" | "inline";
+  display?: TWbwDisplayMode;
   fields?: IWbwFields;
   layoutDirection?: "h" | "v";
   magicDict?: string;