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

@Component({
  selector: 'app-text',
  templateUrl: './text.component.html'
})
export class TextComponent implements OnInit {
  @Input() text: string;
  @Output() textChange = new EventEmitter();
  @Input() postButtonText: string;
  @Output() postButton = new EventEmitter();
  @Input() label: string;
  @Input() id: string;
  @Input() help: string;

  constructor() { }

  ngOnInit() {
  }
}
