mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
fix: drawer rootStyle
This commit is contained in:
parent
2b38025710
commit
4ca73c67bc
@ -57,8 +57,6 @@ function Drawer(props: DrawerProps) {
|
||||
drawerStyle,
|
||||
open,
|
||||
children,
|
||||
className,
|
||||
style,
|
||||
title,
|
||||
headerStyle,
|
||||
onClose,
|
||||
@ -196,7 +194,6 @@ function Drawer(props: DrawerProps) {
|
||||
height={mergedHeight}
|
||||
rootClassName={drawerClassName}
|
||||
getContainer={getContainer}
|
||||
rootStyle={style}
|
||||
>
|
||||
<div className={`${prefixCls}-wrapper-body`} style={{ ...drawerStyle }}>
|
||||
{renderHeader()}
|
||||
|
Loading…
Reference in New Issue
Block a user