mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
22 lines
577 B
TypeScript
22 lines
577 B
TypeScript
import { Component, Input } from '@angular/core';
|
|
import { MetadataValue } from '../../../core/shared/metadata.interfaces';
|
|
|
|
/**
|
|
* This component renders the configured 'values' into the ds-metadata-field-wrapper component.
|
|
* It puts the given 'separator' between each two values.
|
|
*/
|
|
@Component({
|
|
selector: 'ds-metadata-values',
|
|
styleUrls: ['./metadata-values.component.scss'],
|
|
templateUrl: './metadata-values.component.html'
|
|
})
|
|
export class MetadataValuesComponent {
|
|
|
|
@Input() mdValues: MetadataValue[];
|
|
|
|
@Input() separator: string;
|
|
|
|
@Input() label: string;
|
|
|
|
}
|