import React from 'react' ; import { EyeOutlined , RobotOutlined , ShareAltOutlined , AreaChartOutlined , } from '@ant-design/icons' ; import CKBList from './demos/CKBList' ; import ChartAdvisor from './demos/ChartAdvisor' ; import AutoChart from './demos/AutoChart' ; import GraphAdvisor from './demos/GraphAdvisor' ; export interface Demo { id : string ; name : string ; contentComp : React . ReactNode ; icon : React . ReactNode ; } interface Manifest { demos : Demo [ ] ; } const manifest = { demos : [ { id : 'CKBList' , name : 'CKBList' , contentComp : CKBList , icon : < EyeOutlined />, } , { id : 'ChartAdvisor' , name : 'ChartAdvisor' , contentComp : ChartAdvisor , icon : < RobotOutlined />, } , { id : 'GraphAdvisor' , name : 'GraphAdvisor' , contentComp : GraphAdvisor , icon : < ShareAltOutlined />, } , { id : 'AutoChart' , name : 'AutoChart' , contentComp : AutoChart , icon : < AreaChartOutlined />, } , ] , } ; export default manifest ;