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

@Component({
  selector: 'app-form-item',
  templateUrl: './app-form-item.component.html',
  styleUrls: ['./app-form-item.component.scss'],
})
export class AppFormItemComponent implements OnInit {

  @ContentChild(TemplateRef)
  template: TemplateRef<any>;
  /**
   * 表单项控制器
   *
   * 
   */
  @Input() field: any;

  constructor() { }

  ngOnInit() {}

}
