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 11import type { ElementType , ReactNode , CSSProperties } from 'react'
2- import type { Middleware } from '@floating-ui/dom'
2+
3+ export type { Middleware } from '@floating-ui/dom'
34
45export type PlacesType = 'top' | 'right' | 'bottom' | 'left'
56
@@ -13,8 +14,6 @@ export type EventsType = 'hover' | 'click'
1314
1415export type PositionStrategy = 'absolute' | 'fixed'
1516
16- export type Middleware = Middleware
17-
1817export type DataAttribute =
1918 | 'place'
2019 | 'content'
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import type {
88 VariantType ,
99 WrapperType ,
1010 IPosition ,
11+ Middleware ,
1112} from './components/Tooltip/TooltipTypes'
1213import type { ITooltipController } from './components/TooltipController/TooltipControllerTypes'
1314import type { ITooltipWrapper } from './components/TooltipProvider/TooltipProviderTypes'
@@ -26,4 +27,5 @@ export type {
2627 ITooltipController as ITooltip ,
2728 ITooltipWrapper ,
2829 IPosition ,
30+ Middleware ,
2931}
You can’t perform that action at this time.
0 commit comments