'use client' import { RiCloseLine } from '@remixicon/react' import TagsFilter from './tags-filter' import ActionButton from '@/app/components/base/action-button' import cn from '@/utils/classnames' type SearchBoxProps = { search: string onSearchChange: (search: string) => void inputClassName?: string tags: string[] onTagsChange: (tags: string[]) => void size?: 'small' | 'large' placeholder?: string locale?: string } const SearchBox = ({ search, onSearchChange, inputClassName, tags, onTagsChange, size = 'small', placeholder = '', locale, }: SearchBoxProps) => { return (