import './component';
import './config';


Shopware.Service('cmsService').registerCmsElement({
    name: 'bc-instagram-widget',
    label: 'sw-cms.config.bc-instagram-widget.label',
    component: 'sw-cms-el-bc-instagram-widget',
    configComponent: 'sw-cms-el-config-bc-instagram-widget',
    defaultConfig: {
        title: {
            source: 'static',
            value: 'Follow Our Instagram',
            required: true
        },
        username: {
            source: 'static',
            value: 'brandcrock',
            required:true
        },
        subTitle: {
            source: 'static',
            value: null
        },
        accessToken: {
            source: 'static',
            value: null,
            required:true
        },
        mainHeadingColor: {
            required: true,
            source: 'static',
            value: '#000'
        },
        usernameColor: {
            required: true,
            source: 'static',
            value: '#000'
        },
        subtitleColor: {
            required: true,
            source: 'static',
            value: '#000'
        },
        limit: {
            source: 'static',
            value: 12
        }
    }
});
