({ onSelectQuery }: SuggestedQueriesProps)
| 58 | } |
| 59 | |
| 60 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected