Correct Hub and Engine component geometry
This commit is contained in:
@@ -8,6 +8,7 @@ export interface InspectorSectionSpec {
|
||||
group?: string;
|
||||
content: ReactNode;
|
||||
disabled?: boolean;
|
||||
tone?: "default" | "accent";
|
||||
}
|
||||
|
||||
export interface InspectorProps {
|
||||
@@ -64,6 +65,7 @@ export function Inspector({
|
||||
className="nodedc-inspector__section-trigger"
|
||||
data-open={isOpen ? "true" : undefined}
|
||||
data-active={activeId === section.id ? "true" : undefined}
|
||||
data-tone={section.tone === "accent" ? "accent" : undefined}
|
||||
aria-expanded={isOpen}
|
||||
disabled={section.disabled}
|
||||
onClick={() => toggle(section.id)}
|
||||
@@ -98,4 +100,3 @@ export function ControlRow({ label, children, layout = "inline", className }: Co
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user