SearchstaxAnswerWidget React
SearchStax Site Search solution offers React and Next.js widgets to assist in building your custom search page.
The SearchstaxAnswerWidget component provides a React and Next.js AI answer widget for your searches.
Usage
<SearchstaxAnswerWidget
showShowMoreAfterWordCount={100}
feedbackConfig={feedbackConfig}
></SearchstaxAnswerWidget>
Props
showShowMoreAfterWordCount
– number(default 100) determining after how many words UI will show “Read More” view.feedbackWidget
– an optional object that configures thumbs-up and thumbs-down feedback functionality.searchAnswerTemplate
– template override as explained below
Example
For a complete example, see sitesearch-ux-react.
Questions?
Do not hesitate to contact the SearchStax Support Desk.