import { SectionTypes } from "@sc/modules/v2/Properties/types"; import theme from "@sc/components/ui/theme"; import { IComponentSettings, ComponentTypes } from "../types"; const settings: IComponentSettings = { id: ComponentTypes.ORDERSUMMARY, name: "Order Summary", description: "", thumbnail: { style: { background: theme.altColor[Math.floor(Math.random() * theme.altColor.length)], color: `rgb(255,255,255,0.85)`, fontFamily: "Roboto", fontSize: "8pt", textAlign: "center", paddingTop: 7, }, icon: "list_alt", }, default: { type: ComponentTypes.ORDERSUMMARY, html: "This is the version two Text Component", style: { display: "inline-block", padding: 5, }, }, properties: { main: { tabs: ["Basic", "Advanced"], sections: [ { tab: "Basic", type: SectionTypes.DATATABLE, settings: {}, }, { tab: "Basic", type: SectionTypes.POSITIONPADDING, settings: {}, }, { tab: "Basic", type: SectionTypes.TYPOGRAPHY, settings: {}, }, // { // tab: "Basic", // type: SectionTypes.ACTIONS, // settings: {}, // }, { tab: "Basic", type: SectionTypes.ALIGNMENT, settings: {}, }, // { // tab: "Advanced", // type: SectionTypes.BORDERSSHADOW, // settings: {}, // }, ], }, }, }; export default settings;