Skip to content

Commit 7861b57

Browse files
committed
docs: Fix docs to match the scoped package name
1 parent b871fb1 commit 7861b57

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react-native-d3-chart
1+
# @mitigate-dev/react-native-d3-chart
22

33
Create performant charts with zooming, panning and localization using D3.js in a WebView. Perfect for time-series data visualization with smooth interactions.
44

@@ -21,9 +21,9 @@ _Interactive chart with zoom, pan, and multi-dataset support_
2121
## Installation
2222

2323
```sh
24-
npm install react-native-d3-chart
24+
npm install @mitigate-dev/react-native-d3-chart
2525
# or
26-
yarn add react-native-d3-chart
26+
yarn add @mitigate-dev/react-native-d3-chart
2727
```
2828

2929
**Note**: This library requires `react-native-webview`. If you don't have it installed:
@@ -39,7 +39,7 @@ yarn add react-native-webview
3939
```tsx
4040
import React, { useState, useMemo } from 'react'
4141
import { View } from 'react-native'
42-
import Chart from 'react-native-d3-chart'
42+
import Chart from '@mitigate-dev/react-native-d3-chart'
4343

4444
export default function App() {
4545
const [width, setWidth] = useState(0)

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Chart, {
55
type Dataset,
66
type ChartProps,
77
type ErrorSegment,
8-
} from 'react-native-d3-chart'
8+
} from '@mitigate-dev/react-native-d3-chart'
99

1010
import { buildSlices } from './helpers/buildSlices'
1111
import { generateTimeSeriesData } from './helpers/generateTimeSeriesData'

example/src/mockData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Point } from 'react-native-d3-chart'
1+
import type { Point } from '@mitigate-dev/react-native-d3-chart'
22

33
import { generateRandomPulses } from './helpers/generateRandomPulses'
44
import { generateTimeSeriesData } from './helpers/generateTimeSeriesData'

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"rootDir": ".",
44
"paths": {
5-
"react-native-d3-chart": ["./src/index"]
5+
"@mitigate-dev/react-native-d3-chart": ["./src/index"]
66
},
77
"allowUnreachableCode": false,
88
"allowUnusedLabels": false,

0 commit comments

Comments
 (0)