Skip to content

Commit e77a9be

Browse files
author
Clauderic Demers
committed
Update types for ContainerGetter
1 parent 127f295 commit e77a9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export type SortEndHandler = (sort: SortEnd, event: SortEvent) => void;
3939

4040
export type SortOverHandler = (sort: SortOver, event: SortEvent) => void;
4141

42-
export type ContainerGetter = (element: React.ReactElement<any>) => HTMLElement;
42+
export type ContainerGetter = (element: React.ReactElement<any>) => HTMLElement | Promise<HTMLElement>;
4343

4444
export interface Dimensions {
4545
width: number;

0 commit comments

Comments
 (0)