Sha256: 7b2c066ee50a4df979d713ec42645302518a77fb872d1241217dd664ff719385
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
import React from 'react'; import createPageComponent from '../create_page_component.jsx'; import PageThumbnail from './page_thumbnail.jsx'; class LazyLoadedPageThumbnail extends React.Component { static contextTypes = { pageIsPreloaded: React.PropTypes.bool } render() { return ( <PageThumbnail {...this.props} lazy={true} loaded={this.context.pageIsPreloaded} /> ); } }; export default createPageComponent(LazyLoadedPageThumbnail);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pageflow-react-0.1.1 | js/src/components/lazy_loaded_page_thumbnail.jsx |
pageflow-react-0.1.0 | js/src/components/lazy_loaded_page_thumbnail.jsx |