Skip to content

Commit 759a49b

Browse files
committed
Add source type to compositor item HTML
1 parent b013e91 commit 759a49b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@api.stream/studio-kit",
3-
"version": "3.0.22",
3+
"version": "3.0.23",
44
"description": "Client SDK for building studio experiences with API.stream",
55
"license": "MIT",
66
"private": false,

src/helpers/compositor.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ const ElementTree = (props: { nodeId: string }) => {
327327
<div
328328
ref={rootRef}
329329
data-id={node.id + '-x'}
330+
data-source-type={node.props.sourceType}
330331
data-item
331332
{...(isDragTarget && {
332333
'data-drag-target': true,

0 commit comments

Comments
 (0)