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

import { PageInfo } from '../../structures/page-info';

import * as Globals from '../../globals';

@Component({
  selector: 'app-page-link-button',
  templateUrl: './page-link-button.component.html',
  styleUrls: ['./page-link-button.component.scss']
})
export class PageLinkButtonComponent implements OnInit {

  @Input() targetPage: PageInfo = Globals.pages.notFound;
  @Input() btnColor: 'primary' | 'accent' | 'warn' = 'primary';
  @Input() btnStyle: 'raised' | 'stroked' = 'raised';
  @Input() btnSize: 'normal' | 'large' = 'normal';
  @Input() id: number | null = null;

  constructor() { 
  }

  ngOnInit(): void {
  }

}
