File tree Expand file tree Collapse file tree
docs/content/docs/(root)/guides/custom-look-and-feel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,7 +299,9 @@ The suggestions component allows you to customize how suggestions are displayed.
299299 } from " @copilotkit/react-ui" ;
300300 import " @copilotkit/react-ui/styles.css" ;
301301
302- const CustomSuggestionsList = (props : UserMessageProps ) => {
302+ const CustomSuggestionsList = (props : RenderSuggestionsListProps ) => {
303+ const { suggestions, onSuggestionClick } = props
304+
303305 const wrapperStyles = " flex items-center gap-2 justify-end mb-4" ;
304306 const messageStyles = " bg-blue-500 text-white py-2 px-4 rounded-xl break-words flex-shrink-0 max-w-[80%]" ;
305307 const avatarStyles = " bg-blue-500 shadow-sm min-h-10 min-w-10 rounded-full text-white flex items-center justify-center" ;
@@ -472,4 +474,4 @@ useCoAgentStateRender<AgentState>({
472474 },
473475});
474476```
475- </ImageAndCode >
477+ </ImageAndCode >
You can’t perform that action at this time.
0 commit comments