apply review feedback

Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
Anders Näsman
2022-06-07 16:30:04 +02:00
committed by Eric Peterson
parent 295eb30778
commit 2dc4818541
13 changed files with 32 additions and 150 deletions
-7
View File
@@ -187,13 +187,6 @@ export type SearchResultProps = {
// @public (undocumented)
export const SelectFilter: (props: SearchFilterComponentProps) => JSX.Element;
// @public
export const TrackSearch: ({
children,
}: {
children: React_2.ReactChild;
}) => JSX.Element;
// @public
export const useAsyncFilterValues: (
fn: ((partial: string) => Promise<string[]>) | undefined,
@@ -101,8 +101,6 @@ export const DefaultResultListItemComponent = ({
};
/**
* A higher order function providing AnalyticsContext to the DefaultResultListItemComponent.
*
* @public
*/
const HigherOrderDefaultResultListItem = (
@@ -65,8 +65,6 @@ export const SearchResultComponent = ({ children }: SearchResultProps) => {
};
/**
* A higher order function providing AnalyticsContext to the SearchResultComponent.
*
* @public
*/
const HigherOrderSearchResult = (props: SearchResultProps) => {
@@ -20,8 +20,6 @@ import { useSearch } from '../../context';
/**
* Capture search event on term change.
*
* @public
*/
export const TrackSearch = ({ children }: { children: React.ReactChild }) => {
const analytics = useAnalytics();
@@ -19,5 +19,4 @@ export * from './SearchFilter';
export * from './SearchResult';
export * from './SearchResultPager';
export * from './SearchBar';
export * from './SearchTracker';
export * from './DefaultResultListItem';