{shown.length === 0 && (
{onCreate && query.trim() ? (
) : (
"No tags found."
)}
)}
{shown.map((t) => (
toggle(t.id)} className="gap-2">
{t.name}
{picked.includes(t.id) && }
))}
{onCreate && query.trim() && !exactMatch && shown.length > 0 && (
void createAndPick()} className="gap-2 text-primary">
Create "{query.trim()}"
)}
{picked.length > 0 && (
)}