import * as React from "react" import BaseWidget, { IWidgetProps, IWidgetState } from "./BaseWidget" import { WidgetType, CSSUnits } from "../constants/WidgetConstants" import TextComponent from "../editorComponents/TextComponent" import _ from "lodash" class TextWidget extends BaseWidget { constructor(widgetProps: ITextWidgetProps) { super(widgetProps) } getPageView() { return ( ) } getWidgetType(): WidgetType { return "TEXT_WIDGET" } } export interface ITextWidgetProps extends IWidgetProps { text?: string ellipsize?: boolean } export default TextWidget