Skip to content

Commit

Permalink
fix(component): fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaMaid committed Jul 16, 2018
1 parent 040732b commit db198cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion components/Drawer/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export interface IDrawerState {
export class Drawer extends Component<IDrawerProps, IDrawerState> {
static defaultProps = {
width: 256,
docked: true,
zIndex: 100,
};

Expand Down
1 change: 1 addition & 0 deletions components/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class Modal extends Component<IModalComponentProps, IModalComponentState> {
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';
Expand Down

0 comments on commit db198cd

Please sign in to comment.