@stianlarsen/react-code-preview
Advanced tools
@@ -11,3 +11,3 @@ import { CSSProperties } from "react"; | ||
| style?: CSSProperties; | ||
| onCopied: () => void; | ||
| onCopied?: () => void; | ||
| } | ||
@@ -22,3 +22,3 @@ export interface CodeAndPreviewProps { | ||
| initialTab?: TabsType; | ||
| onCopied: () => void; | ||
| onCopied?: () => void; | ||
| } | ||
@@ -25,0 +25,0 @@ export type CodePreviewProps = PreviewOnlyCodeProps | CodeAndPreviewProps; |
+1
-1
| { | ||
| "name": "@stianlarsen/react-code-preview", | ||
| "version": "1.1.12", | ||
| "version": "1.1.13", | ||
| "description": "A React component that provides tabbed navigation for viewing a live component preview and its source code separately.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.esm.js", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
40816
0