@antv/narrative-text-vis
Version:
React component of interactive narrative text
12 lines (11 loc) • 491 B
TypeScript
import { PhraseSpec } from '@antv/narrative-text-schema';
import { ThemeProps, ExtensionProps, PhraseEvents } from '../interface';
declare type PhrasesProps = ThemeProps & ExtensionProps & PhraseEvents & {
/**
* @description specification of phrase text spec
* @description.zh-CN 短语描述 json 信息
*/
spec: PhraseSpec[];
};
export declare function Phrases({ spec, size, pluginManager, ...events }: PhrasesProps): JSX.Element;
export { Phrase } from './Phrase';