From 76cc520efeb78daaa25ee6793ae6987823feb004 Mon Sep 17 00:00:00 2001 From: Yunwoo Ji Date: Wed, 23 Mar 2022 16:51:44 +0900 Subject: [PATCH] docs: fix type of style in drawer component (#34665) --- components/drawer/index.en-US.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/drawer/index.en-US.md b/components/drawer/index.en-US.md index df2c21db66..07430fff37 100644 --- a/components/drawer/index.en-US.md +++ b/components/drawer/index.en-US.md @@ -22,19 +22,19 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr | --- | --- | --- | --- | --- | | autoFocus | Whether Drawer should get focused after open | boolean | true | 4.17.0 | | afterVisibleChange | Callback after the animation ends when switching drawers | function(visible) | - | | -| bodyStyle | Style of the drawer content part | object | - | | +| bodyStyle | Style of the drawer content part | CSSProperties | - | | | className | The class name of the container of the Drawer dialog | string | - | | | closable | Whether a close (x) button is visible on top left of the Drawer dialog or not | boolean | true | | | closeIcon | Custom close icon | ReactNode | <CloseOutlined /> | | | contentWrapperStyle | Style of the drawer wrapper of content part | CSSProperties | - | | | destroyOnClose | Whether to unmount child components on closing drawer or not | boolean | false | | -| drawerStyle | Style of the popup layer element | object | - | | +| drawerStyle | Style of the popup layer element | CSSProperties | - | | | extra | Extra actions area at corner | ReactNode | - | 4.17.0 | | footer | The footer for Drawer | ReactNode | - | | | footerStyle | Style of the drawer footer part | CSSProperties | - | | | forceRender | Prerender Drawer component forcely | boolean | false | | | getContainer | Return the mounted node for Drawer | HTMLElement \| () => HTMLElement \| Selectors \| false | body | | -| headerStyle | Style of the drawer header part | object | - | | +| headerStyle | Style of the drawer header part | CSSProperties | - | | | height | Placement is `top` or `bottom`, height of the Drawer dialog | string \| number | 378 | | | keyboard | Whether support press esc to close | boolean | true | | | mask | Whether to show mask or not | boolean | true | |