We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a9e78 commit 4c1b809Copy full SHA for 4c1b809
1 file changed
src/custom/Panel/Panel.tsx
@@ -56,7 +56,7 @@ const Panel_: React.FC<PanelProps> = ({
56
if (!isOpen) return null;
57
return (
58
<Draggable handle=".drag-handle">
59
- <PanelContainer theme={theme} intitialPosition={intitialPosition} sx={sx}>
+ <PanelContainer intitialPosition={intitialPosition} sx={sx}>
60
<Resizable
61
defaultSize={{
62
width: defaultSize?.width || '18rem',
@@ -106,9 +106,7 @@ const Panel_: React.FC<PanelProps> = ({
106
</HeaderContainer>
107
</DrawerHeader>
108
</div>
109
- <PanelBody className="panel-body" theme={theme}>
110
- {children}
111
- </PanelBody>
+ <PanelBody className="panel-body">{children}</PanelBody>
112
</ErrorBoundary>
113
</ResizableContent>
114
</Resizable>
0 commit comments