UNPKG

@formant/ava-react

Version:

React components of AVA.

13 lines (12 loc) 558 B
import React from 'react'; import type { PhraseSpec } from '@formant/ava'; import type { ThemeStylesProps, ExtensionProps, PhraseEvents } from '../types'; type PhrasesProps = ThemeStylesProps & Pick<ExtensionProps, 'pluginManager'> & PhraseEvents & { /** * @description specification of phrase text spec * @description.zh-CN 短语描述 json 信息 */ spec: PhraseSpec[]; }; export declare function Phrases({ spec, size, theme, palette, pluginManager, ...events }: PhrasesProps): React.JSX.Element; export { Phrase } from './Phrase';