@youyouzone/react-code-highlight
Advanced tools
Comparing version 0.0.7 to 0.0.9
@@ -8,4 +8,5 @@ /// <reference types="react" /> | ||
className?: string; | ||
content?: string; | ||
}; | ||
export declare const HighLighter: ({ debouneTime, language, cb, className }: props) => JSX.Element; | ||
export declare const HighLighter: ({ debouneTime, language, cb, className, content }: props) => JSX.Element; | ||
export {}; |
{ | ||
"name": "@youyouzone/react-code-highlight", | ||
"version": "0.0.7", | ||
"version": "0.0.9", | ||
"main": "lib/index.js", | ||
@@ -28,3 +28,2 @@ "types": "lib/index.d.ts", | ||
"@types/react": "^16.9.45", | ||
"@types/react-dom": "^16.9.8", | ||
"css-loader": "^5.2.6", | ||
@@ -31,0 +30,0 @@ "highlight.js": "^11.0.1", |
@@ -28,2 +28,3 @@ <p align="center"> | ||
* debounceTime?: number - debounce time of input change to invoke callback function. Default is 666 ms. | ||
* content?: string - content in text box. | ||
@@ -30,0 +31,0 @@ ## License |
@@ -11,2 +11,3 @@ { | ||
"allowJs": true, | ||
"strict": true, | ||
"moduleResolution": "node", | ||
@@ -13,0 +14,0 @@ "esModuleInterop": true, |
Sorry, the diff of this file is too big to display
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
1697184
10
6757
36