Skip to content

Commit

Permalink
feat: use @react-native-masked-view/masked-view
Browse files Browse the repository at this point in the history
  • Loading branch information
andreialecu committed Apr 21, 2021
1 parent bdf1d20 commit 6ae35eb
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 6,785 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
lib/
node_modules/
node_modules/
package-lock.json
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ Android and iOS

### Installation

> Note: This package requires the dependency **@react-native-community/masked-view**.<br/>If your project includes the react-navigation >= 4.x you probably already have it installed and you can SKIP de Step #1
> Note: This package requires the dependency **@react-native-masked-view/masked-view**.<br/>If your project includes the react-navigation >= 4.x you probably already have it installed and you can SKIP de Step #1

###### Step #1

Using yarn:

```bash
yarn add @react-native-community/masked-view
yarn add @react-native-masked-view/masked-view
```

Using npm:

```bash
npm install @react-native-community/masked-view --save
npm install @react-native-masked-view/masked-view --save
```

If you are running a **react-native** version below 0.60:

```bash
react-native link @react-native-community/masked-view
react-native link @react-native-masked-view/masked-view
```

Otherwise:
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint ."
},
"dependencies": {
"@react-native-community/masked-view": "^0.1.10",
"@react-native-masked-view/masked-view": "^0.2.3",
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-linear-gradient": "^2.5.6",
Expand Down
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -963,10 +963,10 @@
eslint-plugin-react-native "3.6.0"
prettier "1.16.4"

"@react-native-community/masked-view@^0.1.10":
version "0.1.10"
resolved "https://registry.yarnpkg.com/@react-native-community/masked-view/-/masked-view-0.1.10.tgz#5dda643e19e587793bc2034dd9bf7398ad43d401"
integrity sha512-rk4sWFsmtOw8oyx8SD3KSvawwaK7gRBSEIy2TAwURyGt+3TizssXP1r8nx3zY+R7v2vYYHXZ+k2/GULAT/bcaQ==
"@react-native-masked-view/masked-view@^0.2.3":
version "0.2.3"
resolved "https://registry.yarnpkg.com/@react-native-masked-view/masked-view/-/masked-view-0.2.3.tgz#5f7a39be4787c89d5b35ac80de2ea5d0a0bb64d7"
integrity sha512-t8VcdaFbyXscNs26h/NCsPqVjawWHhIMzGBR9oCIx6kbDa7JW3Q67lNLGkzDudSVnw3Qv09JZrkLXXOGjOABpg==

"@types/babel__core@^7.1.0":
version "7.1.6"
Expand Down
Loading

0 comments on commit 6ae35eb

Please sign in to comment.