Skip to content

Commit

Permalink
Fixed #1680
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Mar 16, 2021
1 parent 48df19b commit 5b64382
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/autocomplete/AutoComplete.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import * as React from 'react';
import TooltipOptions from '../tooltip/TooltipOptions';

type CompleteMethodParams = {
originalEvent: Event,
query: string
}

interface AutoCompleteProps {
id?: string;
value?: any;
Expand Down Expand Up @@ -36,7 +41,7 @@ interface AutoCompleteProps {
tooltip?: any;
tooltipOptions?: TooltipOptions;
ariaLabelledBy?: string;
completeMethod?(e: {originalEvent: Event, query: string}): void;
completeMethod?(e: CompleteMethodParams): void;
itemTemplate?:((data: any, index: number) => any | any);
optionGroupTemplate?:((data: any, index: number) => any | any);
selectedItemTemplate?:((data: any) => any | any);
Expand Down

0 comments on commit 5b64382

Please sign in to comment.