ant-design/components/descriptions/Item.tsx

16 lines
363 B
TypeScript
Raw Normal View History

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;