Skip to content

Commit

Permalink
Merge pull request #17 from gravity-ui/add_exports_for_events_anchors…
Browse files Browse the repository at this point in the history
…_and_text_utils_types

chore(types): fix exports for anchor props, graph events and text utils types
  • Loading branch information
Antamansid authored Nov 20, 2024
2 parents 57a6d06 + 68f880a commit 61a7f25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export { Anchor, type TAnchor } from "./components/canvas/anchors";
export { Anchor, type TAnchor, type TAnchorProps } from "./components/canvas/anchors";
export { Block as CanvasBlock, type TBlock } from "./components/canvas/blocks/Block";
export * from "./graph";
export type { TGraphColors, TGraphConstants } from "./graphConfig";
export { type UnwrapGraphEventsDetail } from "./graphEvents";
export * from "./plugins";
export * from "./react-component";
export { ECameraScaleLevel } from "./services/camera/CameraService";
Expand All @@ -11,6 +12,7 @@ export { EAnchorType } from "./store/anchor/Anchor";
export type { BlockState, TBlockId } from "./store/block/Block";
export type { ConnectionState, TConnection, TConnectionId } from "./store/connection/ConnectionState";
export { ECanChangeBlockGeometry } from "./store/settings";
export { type TMeasureTextOptions, type TWrapText } from "./utils/functions/text";
export * from "./utils/renderers/text";
export { EVENTS } from "./utils/types/events";
export { type TPoint, type TRect } from "./utils/types/shapes";
Expand Down

0 comments on commit 61a7f25

Please sign in to comment.