@theguild/remark-mermaid
Advanced tools
Comparing version 0.0.6 to 0.0.7-alpha-20240125050247-b972d40
"use client"; | ||
import { jsx } from "react/jsx-runtime"; | ||
import { useEffect, useId, useRef, useState } from "react"; | ||
import mermaid from "mermaid"; | ||
function Mermaid({ chart }) { | ||
@@ -26,2 +25,3 @@ const id = useId(); | ||
}; | ||
const { default: mermaid } = await import("mermaid"); | ||
try { | ||
@@ -28,0 +28,0 @@ mermaid.initialize(mermaidConfig); |
{ | ||
"name": "@theguild/remark-mermaid", | ||
"version": "0.0.6", | ||
"version": "0.0.7-alpha-20240125050247-b972d40", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Remark plugin for replacing ```mermaid code blocks with react `<Mermaid />` component", |
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
5560