Skip to content

Commit 5b56731

Browse files
1 parent d172651 commit 5b56731

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 2.15.1 (February 13th, 2024)
4+
5+
- FIX [686](https://github.com/gregnb/react-to-print/pull/686) A breaking type error was mistakenly introduced as part of [652](https://github.com/gregnb/react-to-print/issues/652). This has been fixed.
6+
37
## 2.15.0 (February 11th, 2024)
48

59
- FEATURE [652](https://github.com/gregnb/react-to-print/issues/652): When using the `useReactToPrint` hook it is now possible to pass the returned callback the `content` ref at call time, rather than needing to pass it to the hook directly. This allows for generating the content to be printed closer to when the print occurs. Thanks [isocroft](https://github.com/isocroft)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-to-print",
3-
"version": "2.15.0",
3+
"version": "2.15.1",
44
"description": "Print React components in the browser",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)