diff --git a/content/docs/cloud/ui-library/components.mdx b/content/docs/cloud/ui-library/components.mdx index b335362..4250976 100644 --- a/content/docs/cloud/ui-library/components.mdx +++ b/content/docs/cloud/ui-library/components.mdx @@ -14,6 +14,7 @@ Orama UI provides a set of React components designed to build AI-driven interfac - **[`SearchResults`](https://github.com/oramasearch/orama-ui/blob/main/packages/ui/docs/components/SearchResults.md)** - Displays search results with customizable rendering - **[`ChatInteractions`](https://github.com/oramasearch/orama-ui/blob/main/packages/ui/docs/components/ChatInteractions.md)** - Renders chat messages and user actions - **[`Suggestions`](https://github.com/oramasearch/orama-ui/blob/main/packages/ui/docs/components/Suggestions.md)** - Displays prompt suggestions +- **[`RecentSearches`](https://github.com/oramasearch/orama-ui/blob/main/packages/ui/docs/components/RecentSearches.md)** - Component for managing and displaying recent search history ### Form Components diff --git a/content/docs/cloud/ui-library/hooks.mdx b/content/docs/cloud/ui-library/hooks.mdx index be0d26d..2cc22e1 100644 --- a/content/docs/cloud/ui-library/hooks.mdx +++ b/content/docs/cloud/ui-library/hooks.mdx @@ -16,6 +16,7 @@ Below is an overview of all available hooks. Each hook links to its detailed doc - **[`useSearch`](https://github.com/oramasearch/orama-ui/blob/main/packages/ui/docs/hooks/useSearch.md)** - Access search state, query, results, and search functions - **[`useChat`](https://github.com/oramasearch/orama-ui/blob/main/packages/ui/docs/hooks/useChat.md)** - Manage chat conversations, messages, and AI interactions +- **[`useRecentSearches`](https://github.com/oramasearch/orama-ui/blob/main/packages/ui/docs/hooks/useRecentSearches.md)** - Manage recent search history and state The primary hooks must be used within the context of `SearchRoot` or `ChatRoot`, depending on whether you are building a search or chat experience. These root providers handle state management and context required by the hooks.