Explorar el Código

display?: TWbwDisplayMode;

visuddhinanda hace 2 años
padre
commit
c24fb449eb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;