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

@Component({
  selector: 'app-address',
  templateUrl: './address.component.html',
  styleUrls: ['./address.component.css']
})
export class AddressComponent implements OnInit {

  @Input('group')
  public addressForm: FormGroup;
  
  states = ['AL','AK','AS','AZ','AR','CA','CO','CT','DE','DC','FM',
            'FL','GA','GU','HI','ID','IL','IN','IA','KS','KY','LA',
            'ME','MH','MD','MA','MI','MN','MS','MO','MT','NE','NV',
            'NH','NJ','NM','NY','NC','ND','MP','OH','OK','OR','PW',
            'PA','PR','RI','SC','SD','TN','TX','UT','VT','VI','VA',
            'WA','WV','WI','WY','AE','AA','AP'];

  constructor() { }

  ngOnInit() {
  }

}
