Răsfoiți Sursa

display?: TWbwDisplayMode;

visuddhinanda 3 ani în urmă
părinte
comite
c24fb449eb
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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;