import { SingleTextFieldProps } from '../SingleTextField/SingleTextField.type'; export type HtmlString = string; export interface TextFieldProps { /** * 传入的文本域信息数组对象 */ options?: Array; /** * 文本域格式,true为向左排列,false为文本向两边靠拢 */ format?: 'between' | 'default'; /** * 文本大小 */ size?: number; /** * 字体粗细 */ fontWeight?: number | string; /** * 文本颜色 */ color?: string; /** * 标签颜色 */ labelColor?: string; /** * 是否用冒号分隔标签和文本,只有标签为文字时生效 */ colon?: boolean; /** * 文本之间的上下间距 */ marginY?: number; /** * 文本域的宽度 */ width?: number; } export interface TextFieldExpose { /** * 复制所有的label-value到剪切板 */ copy: () => void; }