MCPcopy
hub / github.com/antvis/Infographic / BaseDatum

Interface BaseDatum

src/types/data.ts:3–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { ResourceConfig } from '../resource';
2
3export interface BaseDatum {
4 icon?: string | ResourceConfig;
5 label?: string;
6 desc?: string;
7 value?: number;
8 illus?: string | ResourceConfig;
9 attributes?: Record<string, object>;
10 [key: string]: any;
11}
12
13/**
14 * 列表型数据项

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected