MCPcopy Create free account
hub / github.com/Seanium/ChatMap / SuggestedQueries

Function SuggestedQueries

components/suggested-queries.tsx:60–75  ·  view source on GitHub ↗
({ onSelectQuery }: SuggestedQueriesProps)

Source from the content-addressed store, hash-verified

58}
59
60export default function SuggestedQueries({ onSelectQuery }: SuggestedQueriesProps) {
61 return (
62 <div className="grid grid-cols-1 md:grid-cols-2 gap-3 w-full">
63 {SUGGESTED_QUERIES.map((query, index) => (
64 <Button
65 key={index}
66 variant="outline"
67 className="h-auto min-h-[60px] py-3 px-4 justify-start text-left"
68 onClick={() => onSelectQuery(query.title)}
69 >
70 <span className="text-sm whitespace-normal">{query.title}</span>
71 </Button>
72 ))}
73 </div>
74 )
75}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected