프로젝트
GitHub에서 보기
xotahal/react-native-motion
소개
쉽게 애니메이션을 적용하세요!
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalReact Native Motion
Change your application from the left one to the right one! Animate it! Easily! Animated Transition Article or Animated Graph Article


Getting Started
$ yarn add react-native-motion
Usage of SharedElement
We need to specify source and destination for shared element. This library then will move the shared element from source position to destination position.
class Main extends Component {
render() {
return (
<SharedElementRenderer>
<App />
</SharedElementRenderer>
);
}
}
// List items page with source of SharedElement
import { SharedElement } from 'react-native-motion';
class ListPage extends Component {
render() {
return (
<SharedElement id="source">
<View>{listItemNode}</View>
</SharedElement>
);
}
}
// Detail page with a destination shared element
import { SharedElement } from 'react-native-motion';
class DetailPage extends Component {
render() {
return (
<SharedElement sourceId="source">
<View>{listItemNode}</View>
</SharedElement>
);
}
}
Playground for react-native-motion library
- react-native-motion-playground repository
- expo app
Author
- Let me help you with animations in React Native 🤙
- Facebook Group about animation in React Native
- Publication about animation in React Native 🚗
- Personal Medium Account about programming 😍
- Subscribe a blog 📝
- Follow me on Twitter 🐦
| Jiri Otahal |
|---|
관련 프로젝트 살펴보기
불러오는 중…