Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
98 lines (95 sloc)
3.75 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { CSSTransitionGroup } from 'react-transition-group'; | |
| import Lazyload from '../../src/'; | |
| import Operation from '../components/Operation'; | |
| export default class FadeIn extends Component { | |
| render() { | |
| return ( | |
| <div className="wrapper"> | |
| <Operation type="fadein" noExtra /> | |
| <div className="widget-list image-container"> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww3.sinaimg.cn/mw690/62aad664jw1f2nxvya0u2j20u01hc16p.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww1.sinaimg.cn/mw690/62aad664jw1f2nxvyo52qj20u01hcqeq.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww2.sinaimg.cn/mw690/62aad664jw1f2nxvz2cj6j20u01hck1o.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww1.sinaimg.cn/mw690/62aad664jw1f2nxvzfjv6j20u01hc496.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww1.sinaimg.cn/mw690/62aad664jw1f2nxw0e1mlj20u01hcgvs.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww4.sinaimg.cn/mw690/62aad664jw1f2nxw0p95dj20u01hc7d8.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww2.sinaimg.cn/mw690/62aad664jw1f2nxw134xqj20u01hcqjg.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| <Lazyload throttle={200} height={300}> | |
| <CSSTransitionGroup key="1" | |
| transitionName="fade" | |
| transitionAppear | |
| transitionAppearTimeout={500} | |
| transitionEnter={false} | |
| transitionLeave={false}> | |
| <img src="http://ww1.sinaimg.cn/mw690/62aad664jw1f2nxw1kcykj20u01hcn9p.jpg" /> | |
| </CSSTransitionGroup> | |
| </Lazyload> | |
| </div> | |
| </div> | |
| ); | |
| } | |
| } |