Skip to content

Commit 61a7f25

Browse files
authored
Merge pull request #17 from gravity-ui/add_exports_for_events_anchors_and_text_utils_types
chore(types): fix exports for anchor props, graph events and text utils types
2 parents 57a6d06 + 68f880a commit 61a7f25

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
export { Anchor, type TAnchor } from "./components/canvas/anchors";
1+
export { Anchor, type TAnchor, type TAnchorProps } from "./components/canvas/anchors";
22
export { Block as CanvasBlock, type TBlock } from "./components/canvas/blocks/Block";
33
export * from "./graph";
44
export type { TGraphColors, TGraphConstants } from "./graphConfig";
5+
export { type UnwrapGraphEventsDetail } from "./graphEvents";
56
export * from "./plugins";
67
export * from "./react-component";
78
export { ECameraScaleLevel } from "./services/camera/CameraService";
@@ -11,6 +12,7 @@ export { EAnchorType } from "./store/anchor/Anchor";
1112
export type { BlockState, TBlockId } from "./store/block/Block";
1213
export type { ConnectionState, TConnection, TConnectionId } from "./store/connection/ConnectionState";
1314
export { ECanChangeBlockGeometry } from "./store/settings";
15+
export { type TMeasureTextOptions, type TWrapText } from "./utils/functions/text";
1416
export * from "./utils/renderers/text";
1517
export { EVENTS } from "./utils/types/events";
1618
export { type TPoint, type TRect } from "./utils/types/shapes";

0 commit comments

Comments
 (0)