This repository has been archived on 2023-08-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
FoodLoop-Web/src/app/shared/leaderboard-result.component.ts

21 lines
479 B
TypeScript
Raw Normal View History

import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
interface LeaderboardData {
2017-11-10 18:41:35 +00:00
position: number;
display_name: number,
value: number;
}
@Component({
// tslint:disable-next-line
selector: '[leaderboard-result]',
templateUrl: 'leaderboard-result.component.html',
})
export class LeaderboardResultComponent implements OnInit {
2017-11-10 18:41:35 +00:00
@Input() public leaderboard: LeaderboardData;
@Input() public listType: string;
ngOnInit(): void {
}
}