Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(demo): fix missing API documentation #1648

Merged
merged 3 commits into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/visx-demo/src/pages/docs/glyph.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import GlyphReadme from '!!raw-loader!../../../../visx-glyph/Readme.md';
import * as Glyph from '../../../../visx-glyph';
import * as Glyph from '../../../../visx-glyph/src';
import DocPage from '../../components/DocPage';
import GlyphsTile from '../../components/Gallery/GlyphsTile';
import LegendsTile from '../../components/Gallery/LegendsTile';
Expand Down
2 changes: 1 addition & 1 deletion packages/visx-demo/src/pages/docs/gradient.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import GradientReadme from '!!raw-loader!../../../../visx-gradient/Readme.md';
import * as Gradients from '../../../../visx-gradient';
import * as Gradients from '../../../../visx-gradient/src';
import DocPage from '../../components/DocPage';
import GradientsTile from '../../components/Gallery/GradientsTile';
import AreaTile from '../../components/Gallery/AreaTile';
Expand Down
2 changes: 1 addition & 1 deletion packages/visx-demo/src/pages/docs/shape.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import ShapeReadme from '!!raw-loader!../../../../visx-shape/Readme.md';
import * as Shapes from '../../../../visx-shape';
import * as Shapes from '../../../../visx-shape/src';
import DocPage from '../../components/DocPage';
import LineRadialTile from '../../components/Gallery/LineRadialTile';
import PiesTile from '../../components/Gallery/PiesTile';
Expand Down
2 changes: 1 addition & 1 deletion packages/visx-demo/src/pages/docs/xychart.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import XYChartReadme from '!!raw-loader!../../../../visx-xychart/README.md';
import * as XYChartPackage from '../../../../visx-xychart';
import * as XYChartPackage from '../../../../visx-xychart/src';
import DocPage from '../../components/DocPage';
import XYChartTile from '../../components/Gallery/XYChartTile';

Expand Down
6 changes: 4 additions & 2 deletions packages/visx-point/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
<img src="https://img.shields.io/npm/dm/@visx/point.svg?style=flat-square" />
</a>

A simple class to represent an `x, y` coordinate.

## Installation

```
npm install --save @visx/point
```

A simple class to represent an `x, y` coordinate.

## Example Usage

```js
Expand Down