import snippets from "./snippe";

export default {
    snippets,
    componentName: "SectionFooters",
    title: "底部内容区块",
    category: "通用",
    docUrl: "",
    screenshot: "",
    devMode: "proCode",
    npm: {
        package: "@pisell/materials",
        version: "1.0.1",
        exportName: "SectionFooters",
        main: "src/index.tsx",
        destructuring: true,
        subName: "",
    },
    props: [
        {
            name: 'left',
            title: { label: '左边插槽', tip: '左边插槽' },
            propType: 'node',
            setter: {
                componentName: 'SlotSetter',
                initialValue: {
                    type: 'JSSlot',
                    value: [],
                },
            },
        }, {
            name: 'middle',
            title: { label: '中间插槽', tip: '中间插槽' },
            propType: 'node',
            setter: {
                componentName: 'SlotSetter',
                initialValue: {
                    type: 'JSSlot',
                    value: [],
                },
            },
        }, {
            name: 'right',
            title: { label: '右边插槽', tip: '右边插槽' },
            propType: 'node',
            setter: {
                componentName: 'SlotSetter',
                initialValue: {
                    type: 'JSSlot',
                    value: [],
                },
            },
        }],

    supports: {
        style: true,
        events: [
            {
                name: 'onChange',
                template:
                    "onChange(event,${extParams}){\n// 选项变化时的回调函数\nconsole.log('onChange',event);}",
            },
        ]
    },
    "component": {}
}