File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { ElementType , ReactNode , CSSProperties } from 'react'
2
- import type { Middleware } from '@floating-ui/dom'
2
+
3
+ export type { Middleware } from '@floating-ui/dom'
3
4
4
5
export type PlacesType = 'top' | 'right' | 'bottom' | 'left'
5
6
@@ -13,8 +14,6 @@ export type EventsType = 'hover' | 'click'
13
14
14
15
export type PositionStrategy = 'absolute' | 'fixed'
15
16
16
- export type Middleware = Middleware
17
-
18
17
export type DataAttribute =
19
18
| 'place'
20
19
| 'content'
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import type {
8
8
VariantType ,
9
9
WrapperType ,
10
10
IPosition ,
11
+ Middleware ,
11
12
} from './components/Tooltip/TooltipTypes'
12
13
import type { ITooltipController } from './components/TooltipController/TooltipControllerTypes'
13
14
import type { ITooltipWrapper } from './components/TooltipProvider/TooltipProviderTypes'
@@ -26,4 +27,5 @@ export type {
26
27
ITooltipController as ITooltip ,
27
28
ITooltipWrapper ,
28
29
IPosition ,
30
+ Middleware ,
29
31
}
You can’t perform that action at this time.
0 commit comments