import type { AgentLogItemWithChildren } from '@/types/workflow' import { Button } from '@langgenius/dify-ui/button' import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from '@langgenius/dify-ui/dropdown-menu' import { RiMoreLine } from '@remixicon/react' import { useState } from 'react' type AgentLogNavMoreProps = { options: AgentLogItemWithChildren[] onShowAgentOrToolLog: (detail?: AgentLogItemWithChildren) => void } const AgentLogNavMore = ({ options, onShowAgentOrToolLog }: AgentLogNavMoreProps) => { const [open, setOpen] = useState(false) return ( }> {options.map((option) => ( onShowAgentOrToolLog(option)} > {option.label} ))} ) } export default AgentLogNavMore