UNPKG

@asgerami/zemenay-blog

Version:

Plug-and-play blog system for Next.js - Get a fully functional blog running in minutes with zero configuration

22 lines (21 loc) 925 B
interface SearchBarProps { searchQuery: string; onSearchChange: (query: string) => void; loading?: boolean; totalResults?: number; hasSearched?: boolean; placeholder?: string; className?: string; } export declare function SearchBar({ searchQuery, onSearchChange, loading, totalResults, hasSearched, placeholder, className, }: SearchBarProps): import("react/jsx-runtime").JSX.Element; interface SearchWithFiltersProps extends SearchBarProps { categories?: any[]; tags?: any[]; selectedCategory?: string; selectedTags?: string[]; onCategoryClick?: (category: any) => void; onTagClick?: (tag: any) => void; onClearFilters?: () => void; } export declare function SearchWithFilters({ categories, tags, selectedCategory, selectedTags, onCategoryClick, onTagClick, onClearFilters, ...searchProps }: SearchWithFiltersProps): import("react/jsx-runtime").JSX.Element; export {};