mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-18 21:21:11 +02:00
Refactor agent_config to use structured-panel instead of pane
This commit is contained in:
parent
84291757e1
commit
3bb09f8593
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ import { DataSource } from "../../../lib/types/datasource_types";
|
||||||
import { Button, Divider, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, Input, Radio, RadioGroup, Select, SelectItem } from "@nextui-org/react";
|
import { Button, Divider, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, Input, Radio, RadioGroup, Select, SelectItem } from "@nextui-org/react";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { DataSourceIcon } from "../../../lib/components/datasource-icon";
|
import { DataSourceIcon } from "../../../lib/components/datasource-icon";
|
||||||
import { ActionButton, Pane } from "./pane";
|
import { ActionButton, StructuredPanel } from "../../../lib/components/structured-panel";
|
||||||
import { EditableField } from "../../../lib/components/editable-field";
|
import { EditableField } from "../../../lib/components/editable-field";
|
||||||
import { Label } from "../../../lib/components/label";
|
import { Label } from "../../../lib/components/label";
|
||||||
import { PlusIcon } from "lucide-react";
|
import { PlusIcon } from "lucide-react";
|
||||||
|
|
@ -57,7 +57,7 @@ export function AgentConfig({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return <Pane title={agent.name} actions={[
|
return <StructuredPanel title={agent.name} actions={[
|
||||||
<ActionButton
|
<ActionButton
|
||||||
key="close"
|
key="close"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
|
|
@ -269,5 +269,5 @@ export function AgentConfig({
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Pane>;
|
</StructuredPanel>;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue