fix: Correct className transform in JSON definitions

- Fixed lazy-d3-bar-chart.json className binding to use className instead of data
- Fixed component-tree.json className binding to use className instead of data
- Code review feedback addressed

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-18 23:51:49 +00:00
parent 4ac334a12c
commit fc231f727d
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"bindings": {
"className": {
"source": "className",
"transform": "data ? `space-y-2 ${data}` : 'space-y-2'"
"transform": "className ? `space-y-2 ${className}` : 'space-y-2'"
}
},
"children": [

View File

@@ -6,7 +6,7 @@
"height": "height",
"className": {
"source": "className",
"transform": "data ? `overflow-visible ${data}` : 'overflow-visible'"
"transform": "className ? `overflow-visible ${className}` : 'overflow-visible'"
}
},
"children": [