feat(workbench): integrate runtime data and map tooling
This commit is contained in:
@@ -16,6 +16,7 @@ export type MapControlPanelProps = {
|
||||
description?: string;
|
||||
icon: LucideIcon;
|
||||
widthClassName?: string;
|
||||
contentClassName?: string;
|
||||
visible?: boolean;
|
||||
children: ReactNode;
|
||||
};
|
||||
@@ -25,6 +26,7 @@ export function MapControlPanel({
|
||||
description,
|
||||
icon: Icon,
|
||||
widthClassName = "w-[292px]",
|
||||
contentClassName,
|
||||
visible = true,
|
||||
children
|
||||
}: MapControlPanelProps) {
|
||||
@@ -51,7 +53,7 @@ export function MapControlPanel({
|
||||
{description ? <p className="mt-0.5 truncate text-xs text-slate-500">{description}</p> : null}
|
||||
</div>
|
||||
</div>
|
||||
<div className="relative space-y-3">{children}</div>
|
||||
<div className={cn("relative space-y-3", contentClassName)}>{children}</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user