import { MarkdownModule } from 'ngx-markdown';
import { SharedModule } from './../shared/shared.module';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AplicativoBaseComponent } from './aplicativo-base/aplicativo-base.component';
import { GithubComponent } from './github/github.component';
import { FlickrComponent } from './flickr/flickr.component';
import { FreesoundComponent } from './freesound/freesound.component';
import { TextoComponent } from './texto/texto.component';
import { FotosComponent } from './fotos/fotos.component';
import { TagsComponent } from './tags/tags.component';
import { AplicativoControlComponent } from './aplicativo-control/aplicativo-control.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AplicativoGenericoComponent } from './aplicativo-generico/aplicativo-generico.component';
import { AplicativoGenericoApiComponent } from './aplicativo-generico-api/aplicativo-generico-api.component';
import { BioComponent } from './bio/bio.component';

@NgModule({
  declarations: [
    AplicativoBaseComponent, 
    GithubComponent, 
    FlickrComponent, 
    FreesoundComponent, 
    TextoComponent, 
    FotosComponent, 
    TagsComponent,
    AplicativoControlComponent,
    AplicativoGenericoComponent,
    AplicativoGenericoApiComponent,
    BioComponent,
  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    SharedModule,
    MarkdownModule
  ],
  exports: [
    AplicativoBaseComponent, 
    GithubComponent, 
    FlickrComponent, 
    FreesoundComponent, 
    TextoComponent, 
    FotosComponent, 
    TagsComponent,
    AplicativoControlComponent,
  ],
  entryComponents: [
    BioComponent,
    FlickrComponent, 
    FotosComponent, 
    FreesoundComponent, 
    GithubComponent, 
    TagsComponent,
    TextoComponent, 
  ]
})
export class AplicativosModule { }
