Skip to content

Commit

Permalink
feat(types): export general types (#1670)
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi authored Oct 18, 2023
1 parent 773f269 commit 272ae18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"./tokens": "./dist/tokens/tokens.css",
"./mockedClassNames": {
"import": "./dist/mocked_classnames_esm/src/index.js"
}
},
"./types": "./dist/esm/types/index.d.ts"
},
"typesVersions": {
"*": {
Expand Down
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from "./events";
export * from "./positions";
export * from "./SubIcon";
export { default as VibeComponent } from "./VibeComponent";
export { default as VibeComponentProps } from "./VibeComponentProps";
Expand Down
3 changes: 3 additions & 0 deletions src/types/positions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { DialogPosition as DialogPositions } from "../constants";

export type DialogPosition = DialogPositions;

0 comments on commit 272ae18

Please sign in to comment.