react18-json-view
Advanced tools
Comparing version 0.2.9-canary.1 to 0.2.9-canary.2
@@ -73,2 +73,27 @@ /// <reference types="react" /> | ||
}, {}, any> | undefined; | ||
EditComponent: import("react").FC<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
}> | import("react").Component<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
}, {}, any> | undefined; | ||
CancelComponent: import("react").FC<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}> | import("react").Component<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}, {}, any> | undefined; | ||
DoneComponent: import("react").FC<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}> | import("react").Component<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}, {}, any> | undefined; | ||
}>; | ||
@@ -113,4 +138,29 @@ export interface JsonViewProps { | ||
}>; | ||
EditComponent: React.FC<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
}> | React.Component<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
}>; | ||
CancelComponent: React.FC<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}> | React.Component<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}>; | ||
DoneComponent: React.FC<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}> | React.Component<{ | ||
onClick: (event: React.MouseEvent) => void; | ||
className: string; | ||
style: React.CSSProperties; | ||
}>; | ||
} | ||
export default function JsonView({ src: _src, collapseStringsAfterLength, collapseStringMode, customizeCollapseStringUI, collapseObjectsAfterLength, collapsed, onCollapse, enableClipboard, editable, onEdit, onDelete, onAdd, onChange, dark, theme, customizeNode, customizeCopy, displaySize, style, className, matchesURL, urlRegExp, ignoreLargeArray, CopyComponent, CopiedComponent }: JsonViewProps): JSX.Element; | ||
export default function JsonView({ src: _src, collapseStringsAfterLength, collapseStringMode, customizeCollapseStringUI, collapseObjectsAfterLength, collapsed, onCollapse, enableClipboard, editable, onEdit, onDelete, onAdd, onChange, dark, theme, customizeNode, customizeCopy, displaySize, style, className, matchesURL, urlRegExp, ignoreLargeArray, CopyComponent, CopiedComponent, EditComponent, CancelComponent, DoneComponent }: JsonViewProps): JSX.Element; | ||
export {}; |
{ | ||
"name": "react18-json-view", | ||
"version": "0.2.9-canary.1", | ||
"version": "0.2.9-canary.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "JSON viewer for react18", |
@@ -70,3 +70,3 @@ # [React18 JSON View](https://jv.yysuni.com/) | ||
| `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. | | ||
@@ -73,0 +73,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
419554
6284