Skip to content

Commit af5a6cf

Browse files
committed
Add component name to dropdown in editor
1 parent d280be4 commit af5a6cf

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/tame-cherries-hope.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@compai/css-gui': patch
3+
---
4+
5+
Add component name to dropdown in editor

packages/gui/src/components/html/Component/Editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export const ComponentEditor = ({ value, onChange }: ComponentEditorProps) => {
7474
>
7575
<Label>Component</Label>
7676
<Combobox
77+
value={value.tagName}
7778
onFilterItems={handleFilterComponents}
7879
onItemSelected={handleComponentSelected}
7980
decorateItemText={(id) => {

0 commit comments

Comments
 (0)