We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2b434 commit 714bcacCopy full SHA for 714bcac
1 file changed
plugins/ui/src/js/src/elements/TabPanels.tsx
@@ -5,14 +5,18 @@ import {
5
} from '@deephaven/components';
6
7
export function TabPanels(props: DHCTabPanelsProps<object>): JSX.Element {
8
- const { UNSAFE_style: unsafeStyle, ...otherProps } = props;
+ const {
9
+ UNSAFE_style: unsafeStyle,
10
+ keepMounted = true,
11
+ ...otherProps
12
+ } = props;
13
14
return (
15
<DHCTabPanels
16
// eslint-disable-next-line react/jsx-props-no-spreading
17
{...otherProps}
18
+ keepMounted={keepMounted}
19
UNSAFE_style={{ display: 'flex', ...unsafeStyle }}
- keepMounted
20
/>
21
);
22
}
0 commit comments