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.FACEBOOKCOMMENTS, name: "Comments", 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: 15, }, icon: "question_answer", }, default: { type: ComponentTypes.FACEBOOKCOMMENTS, properties: { display: "inline-block", width: "100%", textAlign: "center", padding: 5, }, }, properties: { main: { sections: [ { type: SectionTypes.CAPTION, sectionWrap: true, settings: { label: "App Id", icon: "share", text: "Your Facebook App Id", isExpanded: true, // value: "testing 123" }, }, { type: SectionTypes.WIDTH, sectionWrap: true, settings: { label: "Width", text: "Width", icon: "swap_horiz", }, }, { type: SectionTypes.POSITION, sectionWrap: true, settings: { label: "Position", icon: "swap_vert", }, }, { type: SectionTypes.ALIGNMENT, settings: { verticalAlign: false, marginAlign: false, textAlign: true, }, }, ], }, }, }; export default settings;