Skip to content

Commit 2450d18

Browse files
committed
docs: fix api docs
1 parent b24b83f commit 2450d18

35 files changed

+70
-70
lines changed

docs/api/area.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { AreaChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/bar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { BarChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/bidirectional-bar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { BidirectionalBarChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/box.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { BoxChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/bullet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { BulletChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/chord.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { ChordChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/circle-packing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { CirclePackingChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/column.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { ColumnChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/dual-axes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { DualAxesChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/facet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Usage
44

5-
```tsx | pure
6-
5+
```ts
6+
import { FacetChart } from '@opd/g2plot-react'
77
```
88

99
## API

0 commit comments

Comments
 (0)