react-native-anchor-point
Provides a function like transform-origin in css, anchor point in iOS, pivot point in Android. It makes3D transform animation better in React-Native.
File Explorer
Download Latest Version (.zip)- assets.json
- adaptive-icon.png
- favicon.png
- icon.png
- splash.png
- .gitignore
- AnchorPointDemo.tsx
- app.json
- App.tsx
- babel.config.js
- package.json
- SmallTestCard.tsx
- TestAnimatedCard.tsx
- TestCard.tsx
- tsconfig.json
- anchor_point.png
- external_point.png
- rotate.gif
- rotateXY.gif
- rotateZ.gif
- .eslintrc.js
- .gitignore
- index.ts
- LICENSE
- package.json
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/sueLan/react-native-anchor-point
Downloads the entire project code from GitHub to your computer.
cd react-native-anchor-point
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
yarn add react-native-anchor-point
Type this command into your terminal and run it.
npm install react-native-anchor-point
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
