import type { ReactNode } from 'react' import { Field } from '@evobgp/ui/components/field' import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from '@evobgp/ui/components/input-group' import { ListFilterIcon, SearchIcon, XIcon } from 'lucide-react' import { panelCardInsetClassName } from '@/components/panel-card' import { cn } from '@evobgp/ui/lib/utils' interface DataGridToolbarProps { searchValue: string onSearchChange: (value: string) => void searchPlaceholder?: string /** ReUI Filters trigger or custom filter controls. Preview: https://reui.io/preview/base/data-grid-filtering-2 */ filters?: ReactNode actions?: ReactNode className?: string } /** Search + optional ReUI Filters row for Frame data grids. */ export function DataGridToolbar({ searchValue, onSearchChange, searchPlaceholder = 'Поиск…', filters, actions, className, }: DataGridToolbarProps) { return (