mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
20 lines
544 B
TypeScript
20 lines
544 B
TypeScript
import { Component, Inject } from '@angular/core';
|
|
import { TextMenuItemModel } from './models/text.model';
|
|
import { TranslateModule } from '@ngx-translate/core';
|
|
|
|
/**
|
|
* Component that renders a menu section of type TEXT
|
|
*/
|
|
@Component({
|
|
selector: 'ds-text-menu-item',
|
|
templateUrl: './text-menu-item.component.html',
|
|
standalone: true,
|
|
imports: [TranslateModule]
|
|
})
|
|
export class TextMenuItemComponent {
|
|
item: TextMenuItemModel;
|
|
constructor(@Inject('itemModelProvider') item: TextMenuItemModel) {
|
|
this.item = item;
|
|
}
|
|
}
|