return <CollectionIcon className={className} />;
}
- getDetails() {
- return <CollectionDetailsAttributes item={this.item} twoCol={false} />;
+ getTabLabels() {
+ return ['Details', 'Versions'];
+ }
+
+ getDetails(tabNumber: number) {
+ switch (tabNumber) {
+ case 0:
+ return this.getCollectionInfo();
+ case 1:
+ return this.getVersionBrowser();
+ default:
+ return <div />;
+ }
+ }
+
+ private getCollectionInfo() {
- return <CollectionDetailsAttributes item={this.item} />;
++ return <CollectionDetailsAttributes twoCol={false} item={this.item} />;
+ }
+
+ private getVersionBrowser() {
+ return <div />;
}
}