index.ts 630 Bytes
import { ChartFrameEnum, ConfigType } from '@/packages/index.d'
import { EPackagesCategoryEnum } from '@/packages/components/external/types'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'

const { key, chartKey, conKey } = useWidgetKey('Title')
export const TitleConfig: ConfigType = {
    key,
    chartKey,
    conKey,
    title: '小标题',
    category: ChatCategoryEnum.MORE,
    categoryName: ChatCategoryEnumName.MORE,
    package: EPackagesCategoryEnum.COMPOSES,
    chartFrame: ChartFrameEnum.NAIVE_UI,
    image: 'dateTime.png',
}