Fix TypeScript type of Descriptions title, close #17534 (#17559)

This commit is contained in:
Tom Xu 2019-07-10 09:56:46 +08:00 committed by 诸岳
parent 56a961cb2b
commit d52b85fcc4

View File

@ -26,7 +26,7 @@ export interface DescriptionsProps {
bordered?: boolean;
size?: 'middle' | 'small' | 'default';
children?: React.ReactNode;
title?: string;
title?: React.ReactNode;
column?: number | Partial<Record<Breakpoint, number>>;
layout?: 'horizontal' | 'vertical';
}