@@ -26,6 +26,8 @@ import { isNumeric } from "util/stringUtils";
26
26
import { NameConfig , withExposingConfigs } from "../generators/withExposing" ;
27
27
import { title } from "process" ;
28
28
import { SliderControl } from "../controls/sliderControl" ;
29
+ import clsx from "clsx" ;
30
+ import { useApplicationId } from "util/hooks" ;
29
31
30
32
const EventOptions = [ closeEvent ] as const ;
31
33
@@ -119,6 +121,7 @@ let TmpDrawerComp = (function () {
119
121
const isTopBom = [ "top" , "bottom" ] . includes ( props . placement ) ;
120
122
const { items, ...otherContainerProps } = props . container ;
121
123
const userViewMode = useUserViewMode ( ) ;
124
+ const appID = useApplicationId ( ) ;
122
125
const resizable = ! userViewMode && ( ! isTopBom || ! props . autoHeight ) ;
123
126
const onResizeStop = useCallback (
124
127
(
@@ -172,7 +175,7 @@ let TmpDrawerComp = (function () {
172
175
zIndex = { Layers . drawer }
173
176
maskClosable = { props . maskClosable }
174
177
mask = { props . showMask }
175
- className = { props . className as string }
178
+ className = { clsx ( `app- ${ appID } ` , props . className ) }
176
179
data-testid = { props . dataTestId as string }
177
180
>
178
181
{ props . toggleClose && (
0 commit comments