diff --git a/frontend/src/app/chat/nudges.tsx b/frontend/src/app/chat/nudges.tsx new file mode 100644 index 00000000..f817d4db --- /dev/null +++ b/frontend/src/app/chat/nudges.tsx @@ -0,0 +1,27 @@ +export default function Nudges({ + nudges, + handleSuggestionClick, +}: { + nudges: string[]; + handleSuggestionClick: (suggestion: string) => void; +}) { + return ( +
+
+
+ {nudges.map((suggestion: string, index: number) => ( + + ))} +
+ {/* Fade out gradient on the right */} +
+
+
+ ); +}