UNPKG

@antv/narrative-text-schema

Version:

Json schema of narrative text visualization

18 lines (17 loc) 488 B
import { CSSProperties } from 'react'; /** common props for block ele and inline ele */ export declare type CommonProps = { styles?: CSSProperties; className?: string; key?: string; }; /** basic block element structure, used for extends */ export declare type CustomBlockElement = CommonProps & { customType: string; [key: string]: unknown; }; /** custom phrase metadata */ export declare type CustomMetaData = { customType: string; [key: string]: unknown; };