UNPKG

@antv/narrative-text-vis

Version:

React component of interactive narrative text

12 lines (11 loc) 472 B
import { SectionSpec } from '@antv/narrative-text-schema'; import { ThemeProps, ExtensionProps, SectionEvents } from '../interface'; declare type SectionProps = ThemeProps & ExtensionProps & SectionEvents & { /** * @description specification of section text spec * @description.zh-CN Section 描述 json 信息 */ spec: SectionSpec; }; export declare function Section({ spec, size, pluginManager, ...events }: SectionProps): JSX.Element; export {};