@dslate/dslate
Version:
一个Ant Design风格的富文本编辑器 - An Ant Design style rich editor based on Slate
14 lines (13 loc) • 482 B
TypeScript
import type { SizeType } from 'antd/lib/config-provider/SizeContext';
import type { DSlateProps } from '@dslate/core';
import type { ProgressProps, ShowCountProps } from '@dslate/core';
export interface AntdStyleDSlateProps extends Omit<DSlateProps, 'prefixCls'> {
toolbar?: string[];
bordered?: boolean;
size?: SizeType;
showCount?: boolean | ShowCountProps;
disabled?: boolean;
placeholder?: string;
progress?: ProgressProps;
className?: string;
}