import React from "react"; import BaseWidget, { WidgetProps, WidgetState } from "./BaseWidget"; import { WidgetType } from "../constants/WidgetConstants"; import CheckboxComponent from "../editorComponents/CheckboxComponent"; class CheckboxWidget extends BaseWidget { getPageView() { return ( ); } getWidgetType(): WidgetType { return "ICON_WIDGET"; } } export interface CheckboxWidgetProps extends WidgetProps { items: Array<{ label: string; key: string; defaultIndeterminate: boolean; value: number | string; }>; } export default CheckboxWidget;