import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';

const AutoResizeTextMeta: ComponentMetadata = {
  componentName: 'AutoResizeText',
  title: 'AutoResizeText',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  npm: {
    package: '@pisell/materials',
    version: '1.0.0',
    exportName: 'AutoResizeText',
    main: 'src/index.tsx',
    destructuring: true,
    subName: '',
  },
  configure: {
    props: [
      {
        name: 'children',
        title: { label: '内容', tip: '内容' },
        setter: {
          componentName: 'StringSetter',
        },
        defaultValue: '',
        supportVariable: true,
      },
    ],
    supports: {},
    component: {},
  },
};
const snippets: Snippet[] = [
  {
    title: 'AutoResizeText',
    screenshot: '',
    schema: {
      componentName: 'AutoResizeText',
      props: {},
    },
  },
];

export default {
  ...AutoResizeTextMeta,
  snippets,
};
