Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react18-json-view

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react18-json-view - npm Package Compare versions

Comparing version 0.2.9-canary.1 to 0.2.9-canary.2

52

dist/components/json-view.d.ts

@@ -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 {};

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc