fix: Drawer footerStyle react warning (#20983)

fix #20978
This commit is contained in:
Zhengquan Xian 2020-01-17 19:50:02 +08:00 committed by 偏右
parent 156c1dbe17
commit 219cae3355
2 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,6 @@ exports[`Drawer have a footer 1`] = `
>
<div
class="ant-drawer ant-drawer-right"
footer="Test Footer"
tabindex="-1"
>
<div

View File

@ -247,6 +247,9 @@ class Drawer extends React.Component<DrawerProps & ConfigConsumerProps, IDrawerS
'drawerStyle',
'headerStyle',
'bodyStyle',
'footerStyle',
'footer',
'locale',
'title',
'push',
'visible',