mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
1fad2b0277
* refactor * class name * update demo snapshot * clean up * update snapshot * fix test case * more test case * adjust logic
16 lines
363 B
TypeScript
16 lines
363 B
TypeScript
import * as React from 'react';
|
|
|
|
export interface DescriptionsItemProps {
|
|
prefixCls?: string;
|
|
className?: string;
|
|
style?: React.CSSProperties;
|
|
label?: React.ReactNode;
|
|
children: React.ReactNode;
|
|
span?: number;
|
|
}
|
|
|
|
const DescriptionsItem: React.SFC<DescriptionsItemProps> = ({ children }) =>
|
|
children as JSX.Element;
|
|
|
|
export default DescriptionsItem;
|