"use client"; /** * Props interface for the SearchBar component * @property onSearch - Callback function triggered when search input changes */ interface SearchBarProps { onSearch: (query: string) => void; } /** * SearchBar component that provides a styled search input with an icon * Features: * - Real-time search with onChange event * - Glassmorphic design with backdrop blur * - Responsive width with max-width constraint * - Animated focus state with primary color ring */ export default function SearchBar({ onSearch }: SearchBarProps) { return (