Skip to content

Commit

Permalink
v3.0.2 (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHerbst authored Oct 17, 2024
1 parent 706119d commit 46dde74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 3.0.2 (October 17th, 2024)

- FIX [751](https://github.com/MatthewHerbst/react-to-print/issues/751) Ensure selected `<select>` option printed. Currently the first option is printed regardless of selection state
- FIX [753](https://github.com/MatthewHerbst/react-to-print/pull/753) Fix incorrect ESLint config reference to tsconfig file

## 3.0.1 (September 30th, 2024)

- FIX [743](https://github.com/MatthewHerbst/react-to-print/pull/743) Allow passing the function returned from `useReactToPrint` directly to event handlers (this is primarily geared at non-typescript users who are not aware of the new v3 API that prefers the function be wrapped, by changing `onClick={printFn}` to `onClick={() => printFn()}`)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-to-print",
"version": "3.0.1",
"version": "3.0.2",
"description": "Print React components in the browser",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 46dde74

Please sign in to comment.