Skip to content

Commit 0662531

Browse files
committed
Update installation steps
1 parent d593272 commit 0662531

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The purpose of the package is to provide details regarding the Android folding c
55
## Installation
66

77
```sh
8-
npm install react-native-fold-detection
8+
npm install @logicwind/react-native-fold-detection
99
```
1010

1111

@@ -30,7 +30,7 @@ module.exports = {
3030
```js
3131
import * as React from "react";
3232

33-
import { FoldingFeatureProvider } from "react-native-fold-detection";
33+
import { FoldingFeatureProvider } from "@logicwind/react-native-fold-detection";
3434
import SampleScreen from "./SampleScreen";
3535

3636
export default function App() {
@@ -45,7 +45,7 @@ export default function App() {
4545
## In other screens
4646

4747
```js
48-
import { useFoldingFeature } from "react-native-fold-detection";
48+
import { useFoldingFeature } from "@logicwind/react-native-fold-detection";
4949

5050
const { layoutInfo, isTableTop, isBook, isFlat } = useFoldingFeature();
5151
```

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22

3-
import { FoldingFeatureProvider } from 'react-native-fold-detection';
3+
import { FoldingFeatureProvider } from '@logicwind/react-native-fold-detection';
44
import SampleScreen from './SampleScreen';
55

66
export default function App() {

example/src/SampleScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { SafeAreaView, StyleSheet, Text } from 'react-native';
3-
import { useFoldingFeature } from 'react-native-fold-detection';
3+
import { useFoldingFeature } from '@logicwind/react-native-fold-detection';
44

55
export default () => {
66
const { layoutInfo, isTableTop, isBook, isFlat } = useFoldingFeature();

0 commit comments

Comments
 (0)