Skip to content

Commit

Permalink
fixed re-export types
Browse files Browse the repository at this point in the history
  • Loading branch information
yasenytskyoleh committed Apr 17, 2024
1 parent 22124c7 commit da6d3ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@idapgroup/react-image-annotate",
"version": "2.0.4",
"version": "2.0.6",
"type": "module",
"main": "dist/react-image-annotate.js",
"types": "dist/lib.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion src/lib.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ import Annotator from "./Annotator";

// re-export types
export type { AnnotatorProps } from "./Annotator";
export type { MainLayoutState, AnnotatorToolEnum } from "./MainLayout/types.ts";
export type {
MainLayoutState,
MainLayoutImageAnnotationState,
MainLayoutVideoAnnotationState,
MainLayoutStateBase,
AnnotatorToolEnum,
} from "./MainLayout/types";

export { Annotator };

Expand Down

0 comments on commit da6d3ca

Please sign in to comment.