1.1.1 • Published 3 years ago

@tamhub/tamtina v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

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:

npm.io

Demo

You can modify this example on codesandbox:

Edit 7jqo862n7j

1.1.1

3 years ago

1.1.0

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago