Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 1e9c167

Browse files
authored
fix: update react-popper.d.ts (#358)
1 parent afb5939 commit 1e9c167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/react-popper.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function usePopper<Modifiers>(
7777
): {
7878
styles: { [key: string]: React.CSSProperties };
7979
attributes: { [key: string]: { [key: string]: string } };
80-
state: PopperJS.State;
80+
state: PopperJS.State | null;
8181
update: PopperJS.Instance['update'] | null;
8282
forceUpdate: PopperJS.Instance['forceUpdate'] | null;
8383
};

0 commit comments

Comments
 (0)