fix home arrow anim

This commit is contained in:
jljsj 2016-05-10 15:32:15 +08:00
parent 3552ffeba1
commit 105f7d0941
2 changed files with 3 additions and 3 deletions

View File

@ -98,8 +98,8 @@
"pre-commit": "1.x", "pre-commit": "1.x",
"querystring": "^0.2.0", "querystring": "^0.2.0",
"ramda": "^0.21.0", "ramda": "^0.21.0",
"rc-scroll-anim": "0.2.x", "rc-scroll-anim": "~0.2.8",
"rc-tween-one": "0.2.x", "rc-tween-one": "~0.3.0",
"react": "^15.0.0", "react": "^15.0.0",
"react-addons-test-utils": "^15.0.0", "react-addons-test-utils": "^15.0.0",
"react-copy-to-clipboard": "^4.0.1", "react-copy-to-clipboard": "^4.0.1",

View File

@ -33,7 +33,7 @@ export default class Banner extends React.Component {
<GitHubButton key="github-button" type="stargazers" <GitHubButton key="github-button" type="stargazers"
namespace="ant-design" repo="ant-design" /> namespace="ant-design" repo="ant-design" />
</QueueAnim> </QueueAnim>
<TweenOne className="down" animation={[{ opacity: 1 }, { y: 10, duration: 800, yoyo: true, repeat: -1 }]}> <TweenOne className="down" animation={{ y: 10, duration: 800, yoyo: true, repeat: -1 }}>
<Icon type="down" /> <Icon type="down" />
</TweenOne> </TweenOne>
</ScrollElement> </ScrollElement>