docs(search): add changeset files

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2023-01-23 09:28:49 +01:00
parent 5dc2618440
commit 0eaa579f89
11 changed files with 45 additions and 21 deletions
+5 -10
View File
@@ -37,10 +37,10 @@ export const CheckboxFilter: (props: SearchFilterComponentProps) => JSX.Element;
// @public
export const createSearchResultListItemExtension: <
Props extends SearchResultListItemExtensionProps,
Component extends (props: any) => JSX.Element | null,
>(
options: SearchResultListItemExtensionOptions<Props>,
) => Extension<SearchResultListItemExtensionComponent<Props>>;
options: SearchResultListItemExtensionOptions<Component>,
) => Extension<Component>;
// @public (undocumented)
export const DefaultResultListItem: (
@@ -382,17 +382,12 @@ export type SearchResultGroupTextFilterFieldProps =
// @public
export const SearchResultList: (props: SearchResultListProps) => JSX.Element;
// @public
export type SearchResultListItemExtensionComponent<
Props extends SearchResultListItemExtensionProps,
> = (props: Props) => JSX.Element | null;
// @public
export type SearchResultListItemExtensionOptions<
Props extends SearchResultListItemExtensionProps = SearchResultListItemExtensionProps,
Component extends (props: any) => JSX.Element | null,
> = {
name: string;
component: (props: Props) => JSX.Element | null;
component: () => Promise<Component>;
predicate?: (result: SearchResult_2) => boolean;
};