2018-01-30 18:00:02 +01:00
|
|
|
import React from 'react';
|
|
|
|
import NavBar from 'containers/NavBar';
|
|
|
|
import AssetTitle from 'components/AssetTitle';
|
|
|
|
import AssetDisplay from 'components/AssetDisplay';
|
|
|
|
import AssetInfo from 'components/AssetInfo';
|
|
|
|
|
|
|
|
class ShowDetailsPage extends React.Component {
|
|
|
|
componentDidMount () {
|
|
|
|
console.log(this.props);
|
|
|
|
}
|
|
|
|
render () {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<NavBar/>
|
|
|
|
<div className="row row--tall row--padded">
|
|
|
|
<div className="column column--10">
|
2018-01-30 20:46:22 +01:00
|
|
|
<AssetTitle title={this.props.claimName}/>
|
2018-01-30 18:00:02 +01:00
|
|
|
</div>
|
|
|
|
<div className="column column--5 column--sml-10 align-content-top">
|
|
|
|
<div className="row row--padded">
|
2018-01-30 20:46:22 +01:00
|
|
|
<AssetDisplay
|
|
|
|
claimName={this.props.claimName}
|
|
|
|
claimId={this.props.claimId}
|
|
|
|
/>
|
2018-01-30 18:00:02 +01:00
|
|
|
</div>
|
|
|
|
</div><div className="column column--5 column--sml-10 align-content-top">
|
|
|
|
<div className="row row--padded">
|
2018-01-30 20:46:22 +01:00
|
|
|
<AssetInfo claimId={this.props.claimId}/>
|
2018-01-30 18:00:02 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2018-01-30 20:46:22 +01:00
|
|
|
// required props
|
|
|
|
// isChannel
|
|
|
|
// channelName
|
|
|
|
// channelClaimId
|
|
|
|
// claimId
|
|
|
|
// claimName
|
|
|
|
|
2018-01-30 18:00:02 +01:00
|
|
|
export default ShowDetailsPage;
|