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

@stianlarsen/react-code-preview

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stianlarsen/react-code-preview - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

2

dist/index.d.ts
import "./css/codePreview.css";
import { CodePreviewProps } from "./types/types";
declare const CodePreview: React.FC<CodePreviewProps>;
declare const CodePreview: (props: CodePreviewProps) => import("react/jsx-runtime").JSX.Element;
export * from "./types/types";
export { CodePreview };
{
"name": "@stianlarsen/react-code-preview",
"version": "1.1.8",
"version": "1.1.9",
"description": "A React component that provides tabbed navigation for viewing a live component preview and its source code separately.",

@@ -38,4 +38,4 @@ "main": "dist/index.esm.js",

"peerDependencies": {
"react": "^18",
"react-dom": "^18"
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
},

@@ -48,4 +48,4 @@ "devDependencies": {

"@rollup/plugin-typescript": "^10.0.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react": "^18 || ^19",
"@types/react-dom": "^18 || ^19",
"rollup": "^3.0.0",

@@ -52,0 +52,0 @@ "rollup-plugin-copy": "^3.5.0",

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