mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +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;
|