Skip to content

Commit

Permalink
v0.2.9-canary.2
Browse files Browse the repository at this point in the history
  • Loading branch information
YYsuni committed Jul 19, 2024
1 parent c89eaed commit a20bc86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import 'react18-json-view/src/style.css'
| `onEdit` | `function` | - | `(params: { newValue: any, oldValue: any, depth: number, src: any, indexOrName: string \| number, parentType: 'object' \| 'array'}) => void` |
| `customizeNode` | `ReactElement`\|`ReactComponent`\|`Options` | - | Highly customize every node. |
| `customizeCopy` | `(node: any) => any` | internal stringify | Customize copy behavior, only the returned non-empty string will be written to clipboard. |
| `CopyComponent` (canary) | `React.FC` \/ `React.Component` `<{ onClick: (event: React.MouseEvent) => void; className: string }>` | - | Customize copy icon. |
| `CopyComponent` \/ `DoneComponent` \/ `CancelComponent` (canary) | `React.FC` \/ `React.Component` `<{ onClick: (event: React.MouseEvent) => void; className: string ; style: React.CSSProperties}>` | - | Customize copy icon. |
| `CopiedComponent` (canary) | `React.FC` \/ `React.Component` `<{ className: string; style: React.CSSProperties }>` | - | Customize copied icon. |

### Collapsed function
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react18-json-view",
"version": "0.2.9-canary.1",
"version": "0.2.9-canary.2",
"type": "module",
"description": "JSON viewer for react18",
"main": "dist/cjs/index.cjs",
Expand Down

0 comments on commit a20bc86

Please sign in to comment.