import React from 'react'; import PropTypes from 'prop-types'; import NavBar from 'containers/NavBar'; import AssetTitle from 'components/AssetTitle'; import AssetDisplay from 'containers/AssetDisplay'; import AssetInfo from 'components/AssetInfo'; class ShowAssetDetails extends React.Component { render () { const { error, claimData: { title, channelName, certificateId, description, name, claimId, fileExt, contentType, thumbnail, host }, shortId } = this.props; return (
{error &&

{error}

} {this.props.claimData &&
}
); } }; ShowAssetDetails.propTypes = { error : PropTypes.string, claimData: PropTypes.object.isRequired, shortId : PropTypes.string.isRequired, }; export default ShowAssetDetails;