rm drawer config consumer props (#17390)

* rm drawer config consumer props

* Update index.tsx
This commit is contained in:
jiang 2019-07-04 20:53:55 +08:00 committed by zombieJ
parent 1fc1710582
commit a1298463be
2 changed files with 9 additions and 0 deletions

View File

@ -219,6 +219,14 @@ class Drawer extends React.Component<DrawerProps & ConfigConsumerProps, IDrawerS
title,
push,
onClose,
visible,
// ConfigConsumerProps
getPopupContainer,
rootPrefixCls,
getPrefixCls,
renderEmpty,
csp,
autoInsertSpaceInButton,
...rest
} = this.props;
warning(

View File

@ -1,2 +1,3 @@
// deps-lint-skip: empty
import '../../style/index.less';
import './index.less';