import { Component, Input } from "@angular/core";
import { DiscountService } from "./discount.service";

@Component({
    selector: "paDiscountDisplay",
    template: `<div class="bg-info text-white p-2">
                Rabat wynosi {{discounter.discount}}.
               </div>`
})
export class PaDiscountDisplayComponent {
    constructor(public discounter: DiscountService) {}
}
