mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
14 lines
312 B
TypeScript
14 lines
312 B
TypeScript
import { Component, Input } from '@angular/core';
|
|
import { emptyIcon } from '../../../client/icons';
|
|
|
|
@Component({
|
|
selector: 'menu-item',
|
|
templateUrl: 'menu-item.pug',
|
|
styleUrls: ['menu-item.scss'],
|
|
})
|
|
export class MenuItem {
|
|
@Input() route: any;
|
|
@Input() name?: string;
|
|
@Input() icon = emptyIcon;
|
|
}
|