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

export const option = {
  boxId: 'linearGradientContentTitle02',
  colors: ['#1F6B55','#0A392A','#396754','#457453'],
}

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