/// <reference types="preact/compat" />

import * as React from 'preact/compat';
import CommonProps from '../util';

export interface ParagraphProps extends React.HTMLAttributes<HTMLElement>, CommonProps {
    /**
     * 额外的样式名 会附加到 root dom 上
     */
    className?: string;

    /**
     * 什么方式展示段落
     */
    type?: 'long' | 'short';

    /**
     * 组件大小。
     */
    size?: 'medium' | 'small';
}

export default class Paragraph extends React.Component<ParagraphProps, any> {}
