From db198cd8eeaebeea1b9cc7186abf3cef327269a1 Mon Sep 17 00:00:00 2001 From: ShanaMaid Date: Mon, 16 Jul 2018 15:11:56 +0800 Subject: [PATCH] fix(component): fix some warnings --- components/Drawer/Drawer.tsx | 1 - components/Modal/Modal.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Drawer/Drawer.tsx b/components/Drawer/Drawer.tsx index d5abc22..a0318a4 100644 --- a/components/Drawer/Drawer.tsx +++ b/components/Drawer/Drawer.tsx @@ -24,7 +24,6 @@ export interface IDrawerState { export class Drawer extends Component { static defaultProps = { width: 256, - docked: true, zIndex: 100, }; diff --git a/components/Modal/Modal.tsx b/components/Modal/Modal.tsx index 08254a8..75f5347 100644 --- a/components/Modal/Modal.tsx +++ b/components/Modal/Modal.tsx @@ -89,6 +89,7 @@ class Modal extends Component { className, style, title, bodyCotent, content, icon, width, zIndex, showCancel, okText, cancelText, type, closeText, showClose, + maskStyle, maskClosable, showMask, maskClick, ...otherProps } = this.props; const preCls = 'yoshino-modal';