@formant/ava-react
Version:
React components of AVA.
13 lines (12 loc) • 565 B
TypeScript
import React from 'react';
import type { ParagraphSpec } from '@formant/ava';
import type { ThemeStylesProps, ExtensionProps, ParagraphEvents } from '../types';
export type ParagraphProps = ThemeStylesProps & ExtensionProps & ParagraphEvents & {
/**
* @description specification of paragraph text spec
* @description.zh-CN 段落描述 json 信息
*/
spec: ParagraphSpec;
};
export declare function Paragraph({ spec, pluginManager, size, theme, palette, ...events }: ParagraphProps): React.JSX.Element;
export { Headline } from './Headline';