import { RaxNode, FC, CSSProperties } from 'rax'; import { RowProps, CellProps } from '@alifd/mobile-layout'; import './style/index.scss'; export interface FieldContainerProps extends Omit { /** * css 类名前缀 */ prefix?: string; /** * 标题 */ label?: RaxNode; /** * 标题的水平对齐方式 */ labelAlign?: CellProps['align']; /** * 标题的垂直对齐方式 */ labelVerAlign?: CellProps['verAlign']; /** * 标题宽度, inset 时生效, 如果为 `auto`, 则自适应 */ labelWidth?: 'auto' | number; /** * 标题文本换行方式 */ labelWrap?: boolean; /** * 标题内置 */ labelInset?: boolean; /** * 是否显示冒号,仅当 title 为字符串时生效 */ colon?: boolean; /** * 内容水平对齐 */ align?: 'left' | 'right'; /** * 内容处置对齐 */ verAlign?: CellProps['verAlign']; /** *内容区域自定义样式名 */ contentClassName?: string; /** * 内容区域自定义样式 */ contentStyle?: CSSProperties; /** * 子元素 */ children?: RaxNode; } /** * 左右排版的标签 * @param props * @constructor */ declare const FieldContainer: FC; export default FieldContainer;