import { PublicConfigClass } from '@/packages/public'
import { chartInitConfig } from '@/settings/designSetting'
import { CreateComponentType } from '@/packages/index.d'
import { ContentTitle01Config } from './index'
import cloneDeep from 'lodash/cloneDeep'

export const option = {
  boxId: 'linearGradientContentTitle01',
  colors: [],
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = ContentTitle01Config.key
  public attr = { ...chartInitConfig, w: 401, h: 40, zIndex: 1 }
  public chartConfig = cloneDeep(ContentTitle01Config)
  public option = cloneDeep(option)
}
