'use client' import { RiCloseLine, RiSearchLine } from '@remixicon/react' import TagsFilter from './tags-filter' import ActionButton from '@/app/components/base/action-button' import cn from '@/utils/classnames' import { RiAddLine } from '@remixicon/react' import Divider from '@/app/components/base/divider' type SearchBoxProps = { search: string onSearchChange: (search: string) => void wrapperClassName?: string inputClassName?: string tags: string[] onTagsChange: (tags: string[]) => void placeholder?: string locale?: string supportAddCustomTool?: boolean usedInMarketplace?: boolean onShowAddCustomCollectionModal?: () => void onAddedCustomTool?: () => void } const SearchBox = ({ search, onSearchChange, wrapperClassName, inputClassName, tags, onTagsChange, placeholder = '', locale, usedInMarketplace = false, supportAddCustomTool, onShowAddCustomCollectionModal, }: SearchBoxProps) => { return (