import * as React from "react"; import { get } from "lodash"; // import { EditorMode } from "@sc/modules/v2/Editor/types"; import { V1ObjectWrapper, convertProperties } from "../V1ObjectWrapper"; import { PluginProps, ListProps } from "./types"; import { ListItem } from ".."; import { ComponentTypes } from "../types"; import { IconTypes } from "../Icon"; export const List: React.FC = ({ children, data = [], icon, iconSource, iconStyle, contentStyle, style, }) => { if (children) return ( ); return ( ); }; const ListPlugin: React.FC = ({ settings }) => { const properties = convertProperties(settings.properties); return ( ); }; export const onComponentRender = (hook, payload, actions) => { if (hook.id === "webcomponent" && payload.type === ComponentTypes.LIST) { return [ListPlugin]; } }; export default List;