@antv/t8
Version:
T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative T8 markdown syntax that can be used to describe the content of data interpretation reports.
18 lines • 543 B
TypeScript
/** common props for block ele and inline ele */
export type CommonProps = {
styles?: Record<string, any>;
className?: string;
key?: string;
};
/** basic block element structure, used for extends */
export type CustomBlockElement = CommonProps & {
customType: string;
[key: string]: unknown;
};
/** custom phrase metadata */
export type CustomMetaData = {
customType: string;
[key: string]: unknown;
};
export type ElementType = 'section' | 'paragraph' | 'phrase' | 'narrative';
//# sourceMappingURL=common.d.ts.map