@51yzone/pc-components
Version:
An enterprise-class UI design language and React-based implementation
27 lines (26 loc) • 568 B
TypeScript
/**
* 关键字:详情页
* 新增人:徐友万
* 完善中
*/
import React from 'react';
declare type DetailItemChildType = {
label: string;
value: any;
span?: number;
isImg?: boolean;
};
export interface DetailItemType {
key: string;
layout?: 'vertical' | 'horizontal';
column?: number;
children: Array<DetailItemChildType>;
}
interface IProps {
value: Array<DetailItemType>;
prefixCls?: string;
className?: string;
style?: React.CSSProperties;
}
declare const Detail: React.FC<IProps>;
export default Detail;