import _extends from "@babel/runtime/helpers/extends";
var SwitchMeta = {
  group: '低代码组件',
  componentName: 'Switch',
  title: '开关',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  category: '信息输入',
  npm: {
    "package": '@dckj-npm/dc-material',
    version: '0.1.8',
    exportName: 'Switch',
    main: 'src/index.tsx',
    destructuring: true,
    subName: ''
  },
  configure: {
    props: [{
      title: '尺寸',
      name: 'size',
      setter: {
        componentName: 'RadioGroupSetter',
        props: {
          dataSource: [{
            label: '小',
            value: 'small'
          }, {
            label: '中',
            value: 'middle'
          }],
          options: [{
            label: '小',
            value: 'small'
          }, {
            label: '中',
            value: 'middle'
          }]
        }
      }
    }, {
      title: '是否禁用',
      name: 'disabled',
      setter: {
        componentName: 'BoolSetter',
        initialValue: false
      }
    }],
    supports: {
      style: true
    },
    component: {
      disableBehaviors: ['copy']
    }
  }
};
var snippets = [{
  title: '开关',
  screenshot: '',
  schema: {
    componentName: 'Switch',
    props: {
      size: 'medium',
      disable: false
    }
  }
}];
export default _extends({}, SwitchMeta, {
  snippets: snippets
});