import React from 'react'; import PropTypes from 'prop-types'; import { ParagraphProps } from './types'; /** Paragraph */ declare class Paragraph extends React.Component { static propTypes: { prefix: PropTypes.Requireable; /** * 额外的样式名 会附加到 root dom 上 */ className: PropTypes.Requireable; /** * 什么方式展示段落 * - 'long' : 展示所有文本 * - 'short' : 展示三行以内(非强制) */ type: PropTypes.Requireable; /** * 组件大小。 * - 'medium' : 中号 * - 'short' : 小号 */ size: PropTypes.Requireable; rtl: PropTypes.Requireable; }; static defaultProps: { prefix: string; type: string; size: string; }; constructor(props: ParagraphProps); render(): React.JSX.Element; } export type { ParagraphProps }; declare const _default: import("../config-provider/types").ConfiguredComponentClass; export default _default;