UNPKG

@formant/ava-react

Version:

React components of AVA.

29 lines (28 loc) 1.85 kB
import { Section } from './section'; import { Paragraph, Headline } from './paragraph'; import { NestedParagraph } from './nested'; import { Phrase } from './phrases'; import { ArrowUp, ArrowDown } from './assets/icons'; import { SingleLineChart, ProportionChart } from './line-charts'; import { NarrativeTextVis as InnerNarrativeTextVis } from './NarrativeTextVis'; type NarrativeTextVisType = typeof InnerNarrativeTextVis & { Headline: typeof Headline; Section: typeof Section; Paragraph: typeof Paragraph; NestedParagraph: typeof NestedParagraph; Phrase: typeof Phrase; ArrowUp: typeof ArrowUp; ArrowDown: typeof ArrowDown; SingleLineChart: typeof SingleLineChart; ProportionChart: typeof ProportionChart; }; /** * export related component */ export declare const NarrativeTextVis: NarrativeTextVisType; export { PluginManager as NtvPluginManager, createCustomPhraseFactory, createEntityPhraseFactory, createCustomBlockFactory, presetPlugins as presetNtvPlugins, createMetricName, createMetricValue, createDeltaValue, createRatioValue, createOtherMetricValue, createContributeRatio, createDimensionValue, createProportion, createTimeDesc, createTrendDesc, } from './chore/plugin'; export { TextExporter, copyToClipboard } from './chore/exporter'; export { seedToken } from './theme'; export type { NarrativeTextSpec, HeadlineSpec, SectionSpec, StandardSectionSpec, ParagraphSpec, HeadingParagraphSpec, NestedParagraphSpec, TextParagraphSpec, BulletsParagraphSpec, BulletItemSpec, CustomBlockElement, PhraseSpec, TextPhraseSpec, EntityPhraseSpec, CustomPhraseSpec, ValueAssessment, EntityType, EntityMetaData, CustomMetaData, Structure, StructureTemp, Variable, } from '@formant/ava'; export type { NarrativeTextVisProps } from './types'; export type { PluginType as NtvPluginType } from './chore/plugin';