The installation may currently fail. We recommend copying the code below and creating the extension manually in Eidos.
By: j0t4
A simple BPMN2 XML rendering component for use in gallery cards
import { useEffect, useRef } from "react";
import ReactBpmn from 'react-bpmn';
export default function MermaidRenderer({ text = "" }) {
const mermaidRef = useRef(null);
useEffect(() => {
if (!text.trim()) {
return
}
}, [text]);
return (
<ReactBpmn
diagramXML={text}
/>
);
}