Skip to content

Commit

Permalink
orb(react-native-mlkit): Fix readmes (#133)
Browse files Browse the repository at this point in the history
* fix(readme): fix links to modules on the root readme

* fix(packages readmes): fix package names by adding @infinitered/ when missing

* feat: redirect to the https://docs.infinite.red/ from the repo readme (4dd1d12771a122449a4d18c6007ed105b32a5018)
  • Loading branch information
infinitered-circleci committed May 13, 2024
1 parent 2943927 commit 50ac696
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/react-native-mlkit/document-scanner/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Install like any other npm package:

```bash
#yarn
yarn add react-native-mlkit-document-scanner
yarn add @infinitered/react-native-mlkit-document-scanner

#npm
npm install react-native-mlkit-document-scanner
npm install @infinitered/react-native-mlkit-document-scanner
```

## Basic Usage
Expand All @@ -31,7 +31,7 @@ Use the `launchDocumentScannerAsync` method to initiate the document scanner mod
```tsx
// App.tsx
import { View, Button } from "react-native";
import { launchDocumentScannerAsync } from "react-native-mlkit-document-scanner";
import { launchDocumentScannerAsync } from "@infinitered/react-native-mlkit-document-scanner";

function App() {
return (
Expand Down
6 changes: 3 additions & 3 deletions docs/react-native-mlkit/object-detection/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Install like any other npm package:

```bash
#yarn
yarn add react-native-mlkit-object-detection
yarn add @infinitered/react-native-mlkit-object-detection

#npm
npm install react-native-mlkit-object-detection
npm install @infinitered/react-native-mlkit-object-detection
```

## Basic Usage
Expand All @@ -35,7 +35,7 @@ available via React context.
import {
AssetRecord,
useObjectDetectionModels,
} from "react-native-mlkit-object-detection";
} from "@infinitered/react-native-mlkit-object-detection";

// For descriptions of options for default models see link below this snipped.
function App() {
Expand Down

0 comments on commit 50ac696

Please sign in to comment.