Skip to content

Commit 2b4b992

Browse files
authored
Merge pull request #5 from logicwind/scope_fixes
- Installation step corrected. - Scope fixes
2 parents d593272 + 2a46d38 commit 2b4b992

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
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();

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logicwind/react-native-fold-detection",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "The purpose of the package is to provide details regarding the Android folding capability.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -160,4 +160,4 @@
160160
]
161161
]
162162
}
163-
}
163+
}

0 commit comments

Comments
 (0)