import React from 'react'
export default function HelpSearchBar({ value, onChange, onSelectSuggestion, onClear, resultSummary, suggestions = [] }) {
return (
onChange(event.target.value)}
placeholder="Search upload image, group roles, create card, login issue..."
className="w-full rounded-[22px] border border-white/10 bg-black/20 py-3.5 pl-11 pr-4 text-sm text-white outline-none placeholder:text-slate-500"
/>
{value ? (
) : null}
{suggestions.map((suggestion) => (
))}
{resultSummary}
)
}