const SaasDeviceProfileMeta = {
  componentName: 'SaasDeviceProfile',
  title: 'SaasDeviceProfile',
  docUrl: '',
  screenshot: '',
  category: 'SaaS',
  devMode: 'proCode',
  npm: {
    package: '@pisell/private-materials',
    version: '1.0.0',
    exportName: 'SaasDeviceProfile',
    main: 'src/index.tsx',
    destructuring: true,
    subName: '',
  },
  configure: {
    props: [
      {
        name: 'scene',
        title: {
          label: 'Scene',
          tip: 'scene | LowCode render scene',
        },
        setter: {
          componentName: 'RadioGroupSetter',
          props: {
            options: [
              { label: 'profile', value: 'profile' },
              { label: 'instance', value: 'instance' },
            ],
          },
          initialValue: 'profile',
        },
      },
      {
        name: 'showBackButton',
        title: {
          label: 'Show Back Button',
          tip: 'showBackButton | Show a back button beside the page title',
        },
        setter: {
          componentName: 'BoolSetter',
          initialValue: false,
        },
      },
    ],
    supports: {},
    component: {},
  },
};

export default {
  ...SaasDeviceProfileMeta,
  snippets: [
    {
      title: 'SaasDeviceProfile',
      screenshot: '',
      schema: {
        componentName: 'SaasDeviceProfile',
        props: {
          scene: 'profile',
          showBackButton: false,
        },
      },
    },
  ],
};
