Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sueLan committed Jun 9, 2020
1 parent 889d791 commit 05d2b18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# react-native-anchor-point


Provide `withAnchorPoint` function to inject Anchor Point, or called Pivot Point into your transform object, to achieve 3D transform animation in React-Native. This is similar to web `transform-origin`.
Provide a simple, tricky but powerful function, `withAnchorPoint` , like Anchor Point in iOS, Pivot Point in Android, `transform-origin` in css to achieve better 3D transform animation in React-Native.

> Make the 3D transform easier in React Native
![](./res/rotateZ.gif)
![](./res/rotateXY.gif)
![](./res/rotate.gif)
![](./res/anchor_point.png)

## Getting Started

Expand Down

0 comments on commit 05d2b18

Please sign in to comment.