\r\n\t\t\t\t
\r\n\t\t\t\t{zoom_icon}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nconst mapStateToProps = (state, ownProps) => {\r\n\treturn {}\r\n}\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n\treturn {\r\n\t\tuiActions: bindActionCreators(uiActions, dispatch)\r\n\t}\r\n}\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Thumbnail)\n\n\n// WEBPACK FOOTER //\n// ./src/js/components/Thumbnail.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n Symbol.for &&\n Symbol.for('react.element')) ||\n 0xeac7;\n\n var isValidElement = function(object) {\n return typeof object === 'object' &&\n object !== null &&\n object.$$typeof === REACT_ELEMENT_TYPE;\n };\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(isValidElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/prop-types/index.js\n// module id = 12\n// module chunks = 0","\r\nimport React, { PropTypes } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { createStore, bindActionCreators } from 'redux';\r\n\r\nimport * as helpers from '../helpers';\r\nimport * as uiActions from '../services/ui/actions';\r\n\r\nclass Icon extends React.Component{\r\n\r\n\tconstructor(props){\r\n\t\tsuper(props);\r\n\t}\r\n\r\n\tcomponentDidMount(){\r\n\t\tif (!this.props.icons[this.props.name]){\r\n\t\t\tthis.props.uiActions.getIcon(this.props.name);\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentWillReceiveProps(newProps){\r\n\t\tif (this.props.name !== newProps.name && !newProps.icons[newProps.name]){\r\n\t\t\tthis.props.uiActions.getIcon(newProps.name);\r\n\t\t}\r\n\t}\r\n\r\n\trender(){\r\n\t\tvar className = 'icon';\r\n\t\tif (this.props.className){\r\n\t\t\tclassName += ' '+this.props.className;\r\n\t\t}\r\n\r\n\t\tvar svg = '