Skip to content

Commit 2f6a933

Browse files
committed
improve placements type
1 parent 0e2b9af commit 2f6a933

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/placements.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
import { BuildInPlacements } from 'rc-trigger';
2+
13
const autoAdjustOverflow = {
24
adjustX: 1,
35
adjustY: 1,
46
};
57

68
const targetOffset = [0, 0];
79

8-
export const placements = {
10+
export const placements: BuildInPlacements = {
911
left: {
1012
points: ['cr', 'cl'],
1113
overflow: autoAdjustOverflow,

0 commit comments

Comments
 (0)