Skip to content

Commit 0c430cc

Browse files
authored
Merge pull request #7 from brains-and-beards/dependencies-fixes
Dependencies fixes
2 parents 9e4d986 + 5d52e39 commit 0c430cc

File tree

4 files changed

+101
-194
lines changed

4 files changed

+101
-194
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ A small demo showing the animations and an automatic fill in of one-time passwor
1616

1717
| Android | iOS |
1818
| :-----------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------: |
19-
| ![react-native-animated-code-input android demo](assets/react-native-animated-code-input-android.gif) | ![react-native-animated-code-input ios demo](assets/react-native-animated-code-input-ios.gif) |
20-
| ![react-native-animated-code-input android sms autofill demo](assets/react-native-animated-code-input-android-autofill-sms.gif) | ![react-native-animated-code-input ios autofill demo](assets/react-native-animated-code-input-ios-autofill-sms.gif) |
19+
| ![react-native-animated-code-input android demo](https://raw.githubusercontent.com/brains-and-beards/react-native-animated-code-input/master/assets/react-native-animated-code-input-android.gif) | ![react-native-animated-code-input ios demo](https://github.com/brains-and-beards/react-native-animated-code-input/blob/master/assets/react-native-animated-code-input-ios.gif?raw=true) |
20+
| ![react-native-animated-code-input android sms autofill demo](https://raw.githubusercontent.com/brains-and-beards/react-native-animated-code-input/master/assets/react-native-animated-code-input-android-autofill-sms.gif) | ![react-native-animated-code-input ios autofill demo](https://raw.githubusercontent.com/brains-and-beards/react-native-animated-code-input/master/assets/react-native-animated-code-input-ios-autofill-sms.gif) |
2121

2222
## Getting started
2323

@@ -26,13 +26,13 @@ A small demo showing the animations and an automatic fill in of one-time passwor
2626
Install the package with npm.
2727

2828
```bash
29-
npm install react-native-animated-code-input
29+
npm install @brainsbeards/react-native-animated-code-input
3030
```
3131

3232
or with yarn
3333

3434
```bash
35-
yarn add react-native-animated-code-input
35+
yarn add @brainsbeards/react-native-animated-code-input
3636
```
3737

3838
### Run example
@@ -51,7 +51,7 @@ yarn add react-native-animated-code-input
5151
```js
5252
import React, { FC, useRef, useState, useCallback } from "react";
5353
import { TextInput, View, StyleSheet } from "react-native";
54-
import AnimatedCodeInput from "react-native-animated-code-input";
54+
import AnimatedCodeInput from "@brainsbeards/react-native-animated-code-input";
5555

5656
const App: FC = () => {
5757
const [code, setCode] = useState<string>("");

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@react-native-community/clipboard": "^1.2.2",
1313
"react": "16.11.0",
1414
"react-native": "0.62.2",
15-
"react-native-animated-code-input": "file:.."
15+
"@brainsbeards/react-native-animated-code-input": "^1.0.0"
1616
},
1717
"devDependencies": {
1818
"@babel/core": "^7.9.6",

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
ScrollView,
99
SafeAreaView,
1010
} from "react-native";
11-
import AnimatedCodeInput from "react-native-animated-code-input";
11+
import AnimatedCodeInput from "@brainsbeards/react-native-animated-code-input";
1212
import Clipboard from "@react-native-community/clipboard";
1313

1414
const NON_NUMBER_REGEX = /[^0-9]/g;

0 commit comments

Comments
 (0)