Skip to content

tamhub/tamtina

 
 

Repository files navigation

Tamtina 🐟

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:

Edit 7jqo862n7j

About

React Mermaid Renderer 🐟

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%