diff --git a/src/types/widgets.ts b/src/types/widgets.ts index 8282b8dcf..8d234177a 100644 --- a/src/types/widgets.ts +++ b/src/types/widgets.ts @@ -122,13 +122,9 @@ export interface IMultilineStringWidget extends - IBaseWidget { - +export interface ICustomWidget extends IBaseWidget { type?: "custom" value: string | object - - element?: TElement } /** @@ -143,7 +139,7 @@ export type TWidgetValue = IWidget["value"] * The base type for all widgets. Should not be implemented directly. * @see IWidget */ -export interface IBaseWidget { +export interface IBaseWidget { linkedWidgets?: IWidget[] name: string @@ -180,9 +176,6 @@ export interface IBaseWidget { tooltip?: string - /** HTML widget element */ - element?: TElement - // TODO: Confirm this format callback?( value: any,