docs(search): add changeset files
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user