import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';

@Component({
  selector: 'app-number',
  templateUrl: './number.component.html'
})
export class NumberComponent implements OnInit {
  @Input() number: number;
  @Output() numberChange = new EventEmitter();
  @Input() postButtonText: string;
  @Output() postButton = new EventEmitter();
  @Input() label: string;
  @Input() id: string;
  @Input() help: string;
  @Input() min: number;
  @Input() max: number;
  @Input() step: number;

  constructor() { }

  ngOnInit() {
  }

}
