Skip to content

Commit

Permalink
Export default added
Browse files Browse the repository at this point in the history
  • Loading branch information
fayeed committed Jul 16, 2020
1 parent ef81233 commit 11494f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "use-screenshot-hook",
"version": "1.0.0",
"version": "1.0.1",
"description": "React hook to take screenshot for React components.",
"author": "fayeed",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ export const useScreenshot = (options?: UseScreenshotProps) => {

return { image, takeScreenshot, isLoading, clear };
};

export default useScreenshot;

1 comment on commit 11494f8

@vercel
Copy link

@vercel vercel bot commented on 11494f8 Jul 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.