UNPKG

react-lazyloadcomponent-image

Version:

```javascript render() { const { images, list } = this.state; return ( <div> <ReactLazyLoadComponent> { images.map(item => { return <div style={ { textAlign: 'center' } } key={ item }><img data-src={ item }

15 lines (13 loc) 257 B
.inner-show { -webkit-animation: innershow 800ms ease-in-out; -o-animation: innershow 800ms ease-in-out; animation: innershow 800ms ease-in-out; } @keyframes innershow { 0% { opacity: 0; } 100% { opacity: 1; } }