Skip to content

Commit

Permalink
rm drawer config consumer props (#17390)
Browse files Browse the repository at this point in the history
* rm drawer config consumer props

* Update index.tsx
  • Loading branch information
jljsj33 authored and zombieJ committed Jul 4, 2019
1 parent 1fc1710 commit a129846
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/drawer/index.tsx
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions components/drawer/style/index.tsx
@@ -1,2 +1,3 @@
// deps-lint-skip: empty
import '../../style/index.less';
import './index.less';

0 comments on commit a129846

Please sign in to comment.