@100mslive/roomkit-react 0.3.16-alpha.9 → 0.3.17-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HLSView-SCWDWGU4.css → HLSView-2B7JRVYF.css} +3 -3
- package/dist/{HLSView-SCWDWGU4.css.map → HLSView-2B7JRVYF.css.map} +1 -1
- package/dist/{HLSView-7LDWOITW.js → HLSView-WZULAPSG.js} +2 -2
- package/dist/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.d.ts +2 -1
- package/dist/{chunk-EJPBS6IS.js → chunk-5GS4O2BK.js} +148 -129
- package/dist/{chunk-EJPBS6IS.js.map → chunk-5GS4O2BK.js.map} +3 -3
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +145 -126
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +21 -21
- package/dist/meta.esbuild.json +33 -33
- package/package.json +7 -7
- package/src/Prebuilt/components/AudioVideoToggle.tsx +11 -11
- package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx +9 -1
- package/src/Prebuilt/components/PIP/PIPChatOption.tsx +1 -1
- package/src/Prebuilt/components/VirtualBackground/VBOption.tsx +1 -1
- /package/dist/{HLSView-7LDWOITW.js.map → HLSView-WZULAPSG.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
|
@@ -2455,7 +2455,7 @@
|
|
|
2455
2455
|
"format": "esm"
|
|
2456
2456
|
},
|
|
2457
2457
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
|
|
2458
|
-
"bytes":
|
|
2458
|
+
"bytes": 3679,
|
|
2459
2459
|
"imports": [
|
|
2460
2460
|
{
|
|
2461
2461
|
"path": "react",
|
|
@@ -2891,7 +2891,7 @@
|
|
|
2891
2891
|
"format": "esm"
|
|
2892
2892
|
},
|
|
2893
2893
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
|
2894
|
-
"bytes":
|
|
2894
|
+
"bytes": 13290,
|
|
2895
2895
|
"imports": [
|
|
2896
2896
|
{
|
|
2897
2897
|
"path": "react",
|
|
@@ -4269,7 +4269,7 @@
|
|
|
4269
4269
|
"format": "esm"
|
|
4270
4270
|
},
|
|
4271
4271
|
"src/Prebuilt/components/PIP/PIPChatOption.tsx": {
|
|
4272
|
-
"bytes":
|
|
4272
|
+
"bytes": 616,
|
|
4273
4273
|
"imports": [
|
|
4274
4274
|
{
|
|
4275
4275
|
"path": "react",
|
|
@@ -5601,7 +5601,7 @@
|
|
|
5601
5601
|
"format": "cjs"
|
|
5602
5602
|
},
|
|
5603
5603
|
"../hms-video-store/dist/index.js": {
|
|
5604
|
-
"bytes":
|
|
5604
|
+
"bytes": 356920,
|
|
5605
5605
|
"imports": [
|
|
5606
5606
|
{
|
|
5607
5607
|
"path": "../../node_modules/reselect/es/index.js",
|
|
@@ -9796,7 +9796,7 @@
|
|
|
9796
9796
|
"format": "esm"
|
|
9797
9797
|
},
|
|
9798
9798
|
"src/Prebuilt/components/VirtualBackground/VBOption.tsx": {
|
|
9799
|
-
"bytes":
|
|
9799
|
+
"bytes": 1248,
|
|
9800
9800
|
"imports": [
|
|
9801
9801
|
{
|
|
9802
9802
|
"path": "react",
|
|
@@ -11227,7 +11227,7 @@
|
|
|
11227
11227
|
],
|
|
11228
11228
|
"format": "esm"
|
|
11229
11229
|
},
|
|
11230
|
-
"../../../../../../../tmp/tmp-
|
|
11230
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css": {
|
|
11231
11231
|
"bytes": 80111,
|
|
11232
11232
|
"imports": [
|
|
11233
11233
|
{
|
|
@@ -11277,7 +11277,7 @@
|
|
|
11277
11277
|
}
|
|
11278
11278
|
]
|
|
11279
11279
|
},
|
|
11280
|
-
"../../../../../../../tmp/tmp-
|
|
11280
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
|
11281
11281
|
"bytes": 597,
|
|
11282
11282
|
"imports": [
|
|
11283
11283
|
{
|
|
@@ -11286,7 +11286,7 @@
|
|
|
11286
11286
|
"external": true
|
|
11287
11287
|
},
|
|
11288
11288
|
{
|
|
11289
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11289
|
+
"path": "../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css",
|
|
11290
11290
|
"kind": "import-rule",
|
|
11291
11291
|
"original": "@tldraw/tldraw/tldraw.css"
|
|
11292
11292
|
}
|
|
@@ -11361,7 +11361,7 @@
|
|
|
11361
11361
|
"original": "../../common/constants"
|
|
11362
11362
|
},
|
|
11363
11363
|
{
|
|
11364
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11364
|
+
"path": "../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css",
|
|
11365
11365
|
"kind": "import-statement",
|
|
11366
11366
|
"original": "@100mslive/hms-whiteboard/index.css"
|
|
11367
11367
|
},
|
|
@@ -15248,7 +15248,7 @@
|
|
|
15248
15248
|
"dist/index.js": {
|
|
15249
15249
|
"imports": [
|
|
15250
15250
|
{
|
|
15251
|
-
"path": "dist/chunk-
|
|
15251
|
+
"path": "dist/chunk-5GS4O2BK.js",
|
|
15252
15252
|
"kind": "import-statement"
|
|
15253
15253
|
}
|
|
15254
15254
|
],
|
|
@@ -15324,16 +15324,16 @@
|
|
|
15324
15324
|
"inputs": {},
|
|
15325
15325
|
"bytes": 1882
|
|
15326
15326
|
},
|
|
15327
|
-
"dist/HLSView-
|
|
15327
|
+
"dist/HLSView-WZULAPSG.js.map": {
|
|
15328
15328
|
"imports": [],
|
|
15329
15329
|
"exports": [],
|
|
15330
15330
|
"inputs": {},
|
|
15331
15331
|
"bytes": 100275
|
|
15332
15332
|
},
|
|
15333
|
-
"dist/HLSView-
|
|
15333
|
+
"dist/HLSView-WZULAPSG.js": {
|
|
15334
15334
|
"imports": [
|
|
15335
15335
|
{
|
|
15336
|
-
"path": "dist/chunk-
|
|
15336
|
+
"path": "dist/chunk-5GS4O2BK.js",
|
|
15337
15337
|
"kind": "import-statement"
|
|
15338
15338
|
},
|
|
15339
15339
|
{
|
|
@@ -15511,7 +15511,7 @@
|
|
|
15511
15511
|
"default"
|
|
15512
15512
|
],
|
|
15513
15513
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
|
15514
|
-
"cssBundle": "dist/HLSView-
|
|
15514
|
+
"cssBundle": "dist/HLSView-2B7JRVYF.css",
|
|
15515
15515
|
"inputs": {
|
|
15516
15516
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
|
15517
15517
|
"bytesInOutput": 27671
|
|
@@ -15570,13 +15570,13 @@
|
|
|
15570
15570
|
},
|
|
15571
15571
|
"bytes": 61702
|
|
15572
15572
|
},
|
|
15573
|
-
"dist/chunk-
|
|
15573
|
+
"dist/chunk-5GS4O2BK.js.map": {
|
|
15574
15574
|
"imports": [],
|
|
15575
15575
|
"exports": [],
|
|
15576
15576
|
"inputs": {},
|
|
15577
|
-
"bytes":
|
|
15577
|
+
"bytes": 3477743
|
|
15578
15578
|
},
|
|
15579
|
-
"dist/chunk-
|
|
15579
|
+
"dist/chunk-5GS4O2BK.js": {
|
|
15580
15580
|
"imports": [
|
|
15581
15581
|
{
|
|
15582
15582
|
"path": "react",
|
|
@@ -18099,7 +18099,7 @@
|
|
|
18099
18099
|
"external": true
|
|
18100
18100
|
},
|
|
18101
18101
|
{
|
|
18102
|
-
"path": "dist/HLSView-
|
|
18102
|
+
"path": "dist/HLSView-WZULAPSG.js",
|
|
18103
18103
|
"kind": "dynamic-import"
|
|
18104
18104
|
},
|
|
18105
18105
|
{
|
|
@@ -18698,7 +18698,7 @@
|
|
|
18698
18698
|
],
|
|
18699
18699
|
"inputs": {
|
|
18700
18700
|
"<define:process.env>": {
|
|
18701
|
-
"bytesInOutput":
|
|
18701
|
+
"bytesInOutput": 17981
|
|
18702
18702
|
},
|
|
18703
18703
|
"../../node_modules/lodash/lodash.js": {
|
|
18704
18704
|
"bytesInOutput": 224289
|
|
@@ -18725,7 +18725,7 @@
|
|
|
18725
18725
|
"bytesInOutput": 615
|
|
18726
18726
|
},
|
|
18727
18727
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js": {
|
|
18728
|
-
"bytesInOutput":
|
|
18728
|
+
"bytesInOutput": 3839
|
|
18729
18729
|
},
|
|
18730
18730
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": {
|
|
18731
18731
|
"bytesInOutput": 7632
|
|
@@ -19037,10 +19037,10 @@
|
|
|
19037
19037
|
"bytesInOutput": 3306
|
|
19038
19038
|
},
|
|
19039
19039
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
|
19040
|
-
"bytesInOutput":
|
|
19040
|
+
"bytesInOutput": 13687
|
|
19041
19041
|
},
|
|
19042
19042
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
|
|
19043
|
-
"bytesInOutput":
|
|
19043
|
+
"bytesInOutput": 3293
|
|
19044
19044
|
},
|
|
19045
19045
|
"src/Prebuilt/IconButton.tsx": {
|
|
19046
19046
|
"bytesInOutput": 487
|
|
@@ -19169,7 +19169,7 @@
|
|
|
19169
19169
|
"bytesInOutput": 347
|
|
19170
19170
|
},
|
|
19171
19171
|
"src/Prebuilt/components/PIP/PIPChatOption.tsx": {
|
|
19172
|
-
"bytesInOutput":
|
|
19172
|
+
"bytesInOutput": 626
|
|
19173
19173
|
},
|
|
19174
19174
|
"src/Prebuilt/components/PIP/PIPWindow.tsx": {
|
|
19175
19175
|
"bytesInOutput": 274
|
|
@@ -19250,7 +19250,7 @@
|
|
|
19250
19250
|
"bytesInOutput": 22682
|
|
19251
19251
|
},
|
|
19252
19252
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
|
19253
|
-
"bytesInOutput":
|
|
19253
|
+
"bytesInOutput": 6082
|
|
19254
19254
|
},
|
|
19255
19255
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
|
19256
19256
|
"bytesInOutput": 1256
|
|
@@ -19520,7 +19520,7 @@
|
|
|
19520
19520
|
"bytesInOutput": 1157
|
|
19521
19521
|
},
|
|
19522
19522
|
"src/Prebuilt/components/VirtualBackground/VBOption.tsx": {
|
|
19523
|
-
"bytesInOutput":
|
|
19523
|
+
"bytesInOutput": 1156
|
|
19524
19524
|
},
|
|
19525
19525
|
"src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
|
|
19526
19526
|
"bytesInOutput": 3443
|
|
@@ -19594,7 +19594,7 @@
|
|
|
19594
19594
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
|
19595
19595
|
"bytesInOutput": 2830
|
|
19596
19596
|
},
|
|
19597
|
-
"../../../../../../../tmp/tmp-
|
|
19597
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
|
19598
19598
|
"bytesInOutput": 0
|
|
19599
19599
|
},
|
|
19600
19600
|
"src/Prebuilt/common/PeersSorter.ts": {
|
|
@@ -19760,7 +19760,7 @@
|
|
|
19760
19760
|
"bytesInOutput": 2632
|
|
19761
19761
|
}
|
|
19762
19762
|
},
|
|
19763
|
-
"bytes":
|
|
19763
|
+
"bytes": 1445908
|
|
19764
19764
|
},
|
|
19765
19765
|
"dist/index.css.map": {
|
|
19766
19766
|
"imports": [],
|
|
@@ -19822,22 +19822,22 @@
|
|
|
19822
19822
|
}
|
|
19823
19823
|
],
|
|
19824
19824
|
"inputs": {
|
|
19825
|
-
"../../../../../../../tmp/tmp-
|
|
19825
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css": {
|
|
19826
19826
|
"bytesInOutput": 75223
|
|
19827
19827
|
},
|
|
19828
|
-
"../../../../../../../tmp/tmp-
|
|
19828
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
|
19829
19829
|
"bytesInOutput": 401
|
|
19830
19830
|
}
|
|
19831
19831
|
},
|
|
19832
19832
|
"bytes": 75901
|
|
19833
19833
|
},
|
|
19834
|
-
"dist/HLSView-
|
|
19834
|
+
"dist/HLSView-2B7JRVYF.css.map": {
|
|
19835
19835
|
"imports": [],
|
|
19836
19836
|
"exports": [],
|
|
19837
19837
|
"inputs": {},
|
|
19838
19838
|
"bytes": 122402
|
|
19839
19839
|
},
|
|
19840
|
-
"dist/HLSView-
|
|
19840
|
+
"dist/HLSView-2B7JRVYF.css": {
|
|
19841
19841
|
"imports": [
|
|
19842
19842
|
{
|
|
19843
19843
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
|
@@ -19891,10 +19891,10 @@
|
|
|
19891
19891
|
}
|
|
19892
19892
|
],
|
|
19893
19893
|
"inputs": {
|
|
19894
|
-
"../../../../../../../tmp/tmp-
|
|
19894
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca603/tldraw.css": {
|
|
19895
19895
|
"bytesInOutput": 75223
|
|
19896
19896
|
},
|
|
19897
|
-
"../../../../../../../tmp/tmp-
|
|
19897
|
+
"../../../../../../../tmp/tmp-2803-t7udrge7U055/190e434ca4c1/index.css": {
|
|
19898
19898
|
"bytesInOutput": 401
|
|
19899
19899
|
}
|
|
19900
19900
|
},
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.
|
|
13
|
+
"version": "0.3.17-alpha.0",
|
|
14
14
|
"author": "100ms",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": {
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"react": ">=17.0.2 <19.0.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@100mslive/hls-player": "0.3.
|
|
78
|
+
"@100mslive/hls-player": "0.3.17-alpha.0",
|
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.
|
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.
|
|
82
|
-
"@100mslive/react-icons": "0.10.
|
|
83
|
-
"@100mslive/react-sdk": "0.10.
|
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.17-alpha.0",
|
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.7-alpha.0",
|
|
82
|
+
"@100mslive/react-icons": "0.10.17-alpha.0",
|
|
83
|
+
"@100mslive/react-sdk": "0.10.17-alpha.0",
|
|
84
84
|
"@100mslive/types-prebuilt": "0.12.9",
|
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"uuid": "^8.3.2",
|
|
118
118
|
"worker-timers": "^7.0.40"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "3fff3238f614b199bfd20704192c64d3a800c001"
|
|
121
121
|
}
|
|
@@ -263,7 +263,13 @@ const AudioSettings = ({ onClick }: { onClick: () => void }) => {
|
|
|
263
263
|
);
|
|
264
264
|
};
|
|
265
265
|
export const AudioVideoToggle = ({ hideOptions = false }: { hideOptions?: boolean }) => {
|
|
266
|
-
const { allDevices, selectedDeviceIDs, updateDevice } = useDevices(
|
|
266
|
+
const { allDevices, selectedDeviceIDs, updateDevice } = useDevices(error => {
|
|
267
|
+
ToastManager.addToast({
|
|
268
|
+
title: error.message,
|
|
269
|
+
variant: 'error',
|
|
270
|
+
duration: 2000,
|
|
271
|
+
});
|
|
272
|
+
});
|
|
267
273
|
const { videoInput, audioInput, audioOutput } = allDevices;
|
|
268
274
|
const localPeer = useHMSStore(selectLocalPeer);
|
|
269
275
|
const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = useAVToggle();
|
|
@@ -310,10 +316,9 @@ export const AudioVideoToggle = ({ hideOptions = false }: { hideOptions?: boolea
|
|
|
310
316
|
disabled={!toggleAudio}
|
|
311
317
|
hideOptions={hideOptions || !hasAudioDevices}
|
|
312
318
|
onDisabledClick={toggleAudio}
|
|
319
|
+
testid="audio_toggle_btn"
|
|
313
320
|
tooltipMessage={`Turn ${isLocalAudioEnabled ? 'off' : 'on'} audio (${isMacOS ? '⌘' : 'ctrl'} + d)`}
|
|
314
|
-
icon={
|
|
315
|
-
!isLocalAudioEnabled ? <MicOffIcon data-testid="audio_off_btn" /> : <MicOnIcon data-testid="audio_on_btn" />
|
|
316
|
-
}
|
|
321
|
+
icon={!isLocalAudioEnabled ? <MicOffIcon /> : <MicOnIcon />}
|
|
317
322
|
active={isLocalAudioEnabled}
|
|
318
323
|
onClick={toggleAudio}
|
|
319
324
|
key="toggleAudio"
|
|
@@ -353,13 +358,8 @@ export const AudioVideoToggle = ({ hideOptions = false }: { hideOptions?: boolea
|
|
|
353
358
|
hideOptions={hideOptions || !hasVideoDevices}
|
|
354
359
|
onDisabledClick={toggleVideo}
|
|
355
360
|
tooltipMessage={`Turn ${isLocalVideoEnabled ? 'off' : 'on'} video (${isMacOS ? '⌘' : 'ctrl'} + e)`}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
<VideoOffIcon data-testid="video_off_btn" />
|
|
359
|
-
) : (
|
|
360
|
-
<VideoOnIcon data-testid="video_on_btn" />
|
|
361
|
-
)
|
|
362
|
-
}
|
|
361
|
+
testid="video_toggle_btn"
|
|
362
|
+
icon={!isLocalVideoEnabled ? <VideoOffIcon /> : <VideoOnIcon />}
|
|
363
363
|
key="toggleVideo"
|
|
364
364
|
active={isLocalVideoEnabled}
|
|
365
365
|
onClick={toggleVideo}
|
|
@@ -90,6 +90,7 @@ export const IconButtonWithOptions = ({
|
|
|
90
90
|
onDisabledClick = () => {
|
|
91
91
|
return;
|
|
92
92
|
},
|
|
93
|
+
testid = '',
|
|
93
94
|
tooltipMessage = '',
|
|
94
95
|
icon,
|
|
95
96
|
children,
|
|
@@ -103,6 +104,7 @@ export const IconButtonWithOptions = ({
|
|
|
103
104
|
onDisabledClick: () => void;
|
|
104
105
|
icon: React.ReactNode;
|
|
105
106
|
children: React.ReactNode;
|
|
107
|
+
testid?: string;
|
|
106
108
|
hideOptions?: boolean;
|
|
107
109
|
active: boolean;
|
|
108
110
|
disabled?: boolean;
|
|
@@ -111,7 +113,13 @@ export const IconButtonWithOptions = ({
|
|
|
111
113
|
const commonProps = { disabled, active };
|
|
112
114
|
return (
|
|
113
115
|
<Flex>
|
|
114
|
-
<IconSection
|
|
116
|
+
<IconSection
|
|
117
|
+
data-testid={testid}
|
|
118
|
+
{...commonProps}
|
|
119
|
+
onClick={onClick}
|
|
120
|
+
hideOptions={hideOptions}
|
|
121
|
+
className="__cancel-drag-event"
|
|
122
|
+
>
|
|
115
123
|
<Tooltip disabled={!tooltipMessage} title={tooltipMessage}>
|
|
116
124
|
<Icon {...commonProps}>{icon}</Icon>
|
|
117
125
|
</Tooltip>
|
|
@@ -8,7 +8,7 @@ export const PIPChatOption = ({ openChat, showPIPChat }: { openChat: () => void;
|
|
|
8
8
|
return <></>;
|
|
9
9
|
}
|
|
10
10
|
return (
|
|
11
|
-
<Dropdown.Item onClick={openChat} data-testid="
|
|
11
|
+
<Dropdown.Item onClick={openChat} data-testid="pip_chat_btn">
|
|
12
12
|
<ExternalLinkIcon height={18} width={18} style={{ padding: '0 $2' }} />
|
|
13
13
|
<Text variant="sm" css={{ ml: '$4', color: '$on_surface_high' }}>
|
|
14
14
|
Pop out Chat
|
|
@@ -26,7 +26,7 @@ const Root = ({
|
|
|
26
26
|
border: `4px solid ${isActive ? '$primary_default' : '$surface_dim'}`,
|
|
27
27
|
cursor: 'pointer',
|
|
28
28
|
'&:hover': { border: '4px solid $primary_dim' },
|
|
29
|
-
...(mediaURL ? { height: '$20', backgroundImage: `url(${mediaURL})`, backgroundSize: 'cover' } : {}),
|
|
29
|
+
...(mediaURL ? { height: '$20', backgroundImage: `url("${mediaURL}")`, backgroundSize: 'cover' } : {}),
|
|
30
30
|
}}
|
|
31
31
|
onClick={async () => {
|
|
32
32
|
await onClick?.();
|
|
File without changes
|