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
Install with:
$ yarn add tamtina<Tamtina
diagram={`
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;`}
/>Will produce the following output:
You can modify this example on codesandbox:
