@tamhub/tamtina
v1.1.1
Published
A fork of Attina that allows passing Mermaid config and uses divs instead of iframes for diagrams.
Downloads
22
Readme
Tamtina 🐟
WARNING: 1.1.x is broken, please use 1.0.x
This is just a fork of Attina that allows passing Mermaid config and uses divs instead of iframes for diagrams.
Mermaid react renderer compatible with React 15.5+ based off React Mermaid
Uses Mermaid under the hood
Setup
Install with:
$ yarn add tamtina
Usage
<Tamtina
diagram={`
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;`}
/>
Will produce the following output:
Demo
You can modify this example on codesandbox: