Merge pull request #1177 from 2betop/collapse

修复 Collapse 透传 title 的问题
This commit is contained in:
RickCole 2020-12-11 15:21:30 +08:00 committed by GitHub
commit acf8f568dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,8 @@ export default class Collapse extends React.Component<
'headingComponent',
'bodyClassName',
'collapsed',
'headingClassName'
'headingClassName',
'title'
];
static defaultProps: Partial<CollapseProps> = {