Skip to content

Commit f29548b

Browse files
committed
build: bump 2.6.1
1 parent 92bb75c commit f29548b

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [2.6.1](https://github.com/simonguo/react-code-view/compare/2.6.0...2.6.1) (2025-07-04)
2+
3+
4+
### Bug Fixes
5+
6+
* **types:** add support for data-* attributes in button props ([#58](https://github.com/simonguo/react-code-view/issues/58)) ([92bb75c](https://github.com/simonguo/react-code-view/commit/92bb75c2797b67d3ede20bb6b7fde0c30b8bc7a4))
7+
8+
9+
110
# [2.6.0](https://github.com/simonguo/react-code-view/compare/2.5.0...2.6.0) (2025-07-04)
211

312

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-code-view",
3-
"version": "2.6.0",
3+
"version": "2.6.1",
44
"description": "Code view for React",
55
"main": "cjs/index.js",
66
"module": "esm/index.js",

src/CodeView.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ export interface CodeViewProps extends RendererProps {
99

1010
/** The code to be rendered is executed */
1111
sourceCode?: string;
12-
13-
/** The properties of the copy button */
14-
copyButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement> & {
15-
[key: `data-${string}`]: string;
16-
};
1712
}
1813

1914
const CodeView = React.forwardRef((props: CodeViewProps, ref: React.Ref<HTMLDivElement>) => {

0 commit comments

Comments
 (0)