Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Commit 1cd0dc4

Browse files
committed
fix README
1 parent 3977b94 commit 1cd0dc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $ npm install @ts-graphviz/react
2121

2222
#### Script
2323

24-
```typescript-react
24+
```tsx
2525
import React, { FC } from 'react';
2626
import { Digraph, Node, Subgraph, renderToDot, Edge } from '../src';
2727

@@ -43,7 +43,7 @@ console.log(dot);
4343

4444
#### Output dot
4545

46-
```graphviz
46+
```dot
4747
digraph {
4848
dpi = 150;
4949
"nodeA";

0 commit comments

Comments
 (0)