Skip to content

Commit d9434c5

Browse files
feat: export component types
1 parent 4d6d3d5 commit d9434c5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/index.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
import './tokens.css'
2+
import type {
3+
ChildrenType,
4+
DataAttribute,
5+
EventsType,
6+
PlacesType,
7+
PositionStrategy,
8+
VariantType,
9+
WrapperType,
10+
} from './components/Tooltip/TooltipTypes'
11+
import type { ITooltipController } from './components/TooltipController/TooltipControllerTypes'
12+
import type { ITooltipWrapper } from './components/TooltipProvider/TooltipProviderTypes'
213

314
export { TooltipController as Tooltip } from './components/TooltipController'
415
export { TooltipProvider, TooltipWrapper } from './components/TooltipProvider'
16+
export type {
17+
ChildrenType,
18+
DataAttribute,
19+
EventsType,
20+
PlacesType,
21+
PositionStrategy,
22+
VariantType,
23+
WrapperType,
24+
ITooltipController as ITooltip,
25+
ITooltipWrapper,
26+
}

0 commit comments

Comments
 (0)