more reorganization
This commit is contained in:
24
front-ui/app/components/items/itemMultiMediaDescriptions.js
Normal file
24
front-ui/app/components/items/itemMultiMediaDescriptions.js
Normal file
@@ -0,0 +1,24 @@
|
||||
var React = require('react');
|
||||
|
||||
var ItemMultimediaDescriptions = React.createClass({
|
||||
|
||||
|
||||
render: function() {
|
||||
var self = this;
|
||||
|
||||
return (
|
||||
<div>Multimedia Description!
|
||||
{(this.props.descriptions || []).map(function(des) {
|
||||
return (<img src={des.url} />)
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
//getInitialState: function () {
|
||||
//return { descriptions: [] };
|
||||
//}
|
||||
});
|
||||
|
||||
|
||||
module.exports = ItemMultimediaDescriptions;
|
||||
Reference in New Issue
Block a user