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

docs/api/funnel.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 { FunnelChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/gauge.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 { GaugeChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/heatmap.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 { HeatmapChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/histogram.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 { HistogramChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/line.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 { LineChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/liquid.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 { LiquidChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/mix.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 { MixChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/pie.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 { PieChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/progress.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 { ProgressChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/radar.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 { RadarChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/radial-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 { RadialBarChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/ring-progress.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 { RingProgressChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/rose.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 { RoseChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/sankey.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 { SankeyChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/scatter.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 { ScatterChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/stock.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 { StockChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/sunburst.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 { SunburstChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/tiny-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 { TinyAreaChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/tiny-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 { TinyColumnChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/tiny-line.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 { TinyLineChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/treemap.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 { TreemapChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/venn.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 { VennChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/violin.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 { ViolinChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/waterfall.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 { WaterfallChart } from '@opd/g2plot-react'
77
```
88

99
## API

docs/api/word-cloud.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 { WordCloudChart } from '@opd/g2plot-react'
77
```
88

99
## API

0 commit comments

Comments
 (0)