zent
Version:
一套前端设计语言和基于React的实现
25 lines (24 loc) • 645 B
TypeScript
import { PureComponent } from 'react';
export interface IPlaceholderRichTextBlock {
className?: string;
style?: React.CSSProperties;
rows?: number;
shape?: string;
size?: number;
animate?: boolean;
dashed?: boolean;
widths?: number[];
dashSegments?: Array<Array<string | number>>;
lineSpacing?: string | number;
}
export default class RichTextBlock extends PureComponent<IPlaceholderRichTextBlock> {
static defaultProps: {
style: {};
className: string;
shape: string;
animate: boolean;
dashed: boolean;
size: number;
};
render(): JSX.Element;
}