@huolala-tech/react-json-view
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "@huolala-tech/react-json-view", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "A react component for displaying JSON data", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -83,2 +83,3 @@ Engligh | [中文](./README_CN.md) | ||
| `expandable` | `boolean` | `true` | Indicate whether enable expand function. | | ||
| `stringEllipse` | `boolean` | `true` | Ellipse if the string type value's length is more than 100 or show all text when you pass false. | | ||
@@ -85,0 +86,0 @@ ## License |
@@ -45,2 +45,8 @@ import React from 'react'; | ||
expandable?: boolean; | ||
/** | ||
* Ellipse if the string type value's length is more than 100 | ||
* or show all text when you pass false. | ||
* @default true | ||
*/ | ||
stringEllipse?: boolean; | ||
} | ||
@@ -47,0 +53,0 @@ |
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
122133
3185
88