File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/react-core/src/components/Drawer Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
7777 widths,
7878 colorVariant = DrawerColorVariant . default ,
7979 focusTrap,
80+ style,
8081 ...props
8182} : DrawerPanelContentProps ) => {
8283 const panel = useRef < HTMLDivElement > ( undefined ) ;
@@ -381,9 +382,10 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
381382 }
382383 } }
383384 hidden = { hidden }
384- { ...( ( defaultSize || minSize || maxSize ) && {
385- style : boundaryCssVars as React . CSSProperties
386- } ) }
385+ style = { {
386+ ...( ( defaultSize || minSize || maxSize ) && boundaryCssVars ) ,
387+ ...style
388+ } }
387389 { ...props }
388390 ref = { panel }
389391 >
You can’t perform that action at this time.
0 commit comments