Skip to content

Commit

Permalink
Update README.md (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon authored Apr 30, 2019
1 parent a60ac17 commit 6287cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ yarn add react-native-redash
```js
import {atan2} from "react-native-redash";

atan(y, x)
atan2(y, x)
```

## Math
Expand Down Expand Up @@ -60,7 +60,7 @@ We provide this function in case you are using a version of reanimated that does
Beware that this function is not as precise at `Math.atan()` nor `Animated.atan()`.

```js
atan(rad: Node<number>) => Node<number>
atan(rad: Node) => Node
```

### `atan2(node)`
Expand Down

0 comments on commit 6287cae

Please sign in to comment.