Skip to content

Commit

Permalink
fix: export types provided now from sub file
Browse files Browse the repository at this point in the history
  • Loading branch information
ZipingL committed Dec 27, 2024
1 parent c5f36ce commit bcb5f1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ build
dist
lib
./types
deploykey*
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-adobe-embed",
"version": "13.1.0",
"version": "13.1.1",
"homepage": "https://ziping-liu-corporation.github.io/react-adobe-embed/#/home",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import { DefaultConfigs, FileMetaData, PreviewFileConfig, ReactViewAdobeProps } from "./types";
import AdobeDiv from "./AdobeDiv";

export {DefaultConfigs, FileMetaData, PreviewFileConfig, ReactViewAdobeProps} from "./types";

/**
* Renders the embedded Adobe PDF viewer using the Adobe Embed API.
Expand Down
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import { FileMetaData, PreviewFileConfig, ReactViewAdobeProps } from "./types";
export { DefaultConfigs, FileMetaData, PreviewFileConfig, ReactViewAdobeProps } from "./types";
/**
* Renders the embedded Adobe PDF viewer using the Adobe Embed API.
*
Expand Down

0 comments on commit bcb5f1e

Please sign in to comment.