First working version of new dropdown UI (#360)

* First working version of new dropdown UI

* Removed consolelog

* Fixed test storybook

* Cleaned optional args
This commit is contained in:
Lucas Bordeau
2023-06-23 12:39:16 +02:00
committed by GitHub
parent 703f31632d
commit ceaf482f62
8 changed files with 111 additions and 40 deletions

View File

@ -2,6 +2,6 @@ import { DocumentNode } from 'graphql';
export type SearchConfigType = {
query: DocumentNode;
template: (searchInput: string) => any;
template: (searchInput: string, currentSelectedId?: string) => any;
resultMapper: (data: any) => any;
};