diff --git a/.changeset/search-clouds-begin.md b/.changeset/search-clouds-begin.md new file mode 100644 index 0000000000..b3c6fa4b69 --- /dev/null +++ b/.changeset/search-clouds-begin.md @@ -0,0 +1,23 @@ +--- +'@backstage/plugin-search-react': minor +--- + +The `` component now accepts an optional property `disableRenderingWithNoResults` to disable rendering when no results are returned. +Possibility to provide a custom no results component if needed through the `noResultsComponent` property. + +Examples: + +_Rendering a custom no results component_ + +```jsx +} +/> +``` + +_Disable rendering when there are no results_ + +```jsx + +```