2021-09-09 15:10:22 +00:00
|
|
|
import IconSVG from "./icon.svg";
|
2022-01-21 10:19:10 +00:00
|
|
|
import Widget from "./widget";
|
2021-09-09 15:10:22 +00:00
|
|
|
|
|
|
|
|
export const CONFIG = {
|
|
|
|
|
type: Widget.getWidgetType(),
|
|
|
|
|
name: "Text",
|
|
|
|
|
iconSVG: IconSVG,
|
|
|
|
|
defaults: {
|
|
|
|
|
text: "Label",
|
|
|
|
|
fontSize: "PARAGRAPH",
|
|
|
|
|
fontStyle: "BOLD",
|
|
|
|
|
textAlign: "LEFT",
|
|
|
|
|
textColor: "#231F20",
|
2022-01-04 06:21:02 +00:00
|
|
|
truncateButtonColor: "#FFC13D",
|
2022-01-21 10:19:10 +00:00
|
|
|
rows: 4,
|
|
|
|
|
columns: 16,
|
2021-09-09 15:10:22 +00:00
|
|
|
widgetName: "Text",
|
2022-01-04 06:21:02 +00:00
|
|
|
shouldScroll: false,
|
|
|
|
|
shouldTruncate: false,
|
2021-09-09 15:10:22 +00:00
|
|
|
version: 1,
|
2021-12-14 07:55:58 +00:00
|
|
|
animateLoading: true,
|
2021-09-09 15:10:22 +00:00
|
|
|
},
|
|
|
|
|
properties: {
|
|
|
|
|
derived: Widget.getDerivedPropertiesMap(),
|
|
|
|
|
default: Widget.getDefaultPropertiesMap(),
|
|
|
|
|
meta: Widget.getMetaPropertiesMap(),
|
|
|
|
|
config: Widget.getPropertyPaneConfig(),
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Widget;
|