import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';

import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';

import { ListItemComponent } from './components/list-item.component';

const COMPONENTS = [ListItemComponent];

const SERVICES = [];

@NgModule({
  imports: [CommonModule, MatButtonModule, MatIconModule],
  exports: [...COMPONENTS],
  declarations: [...COMPONENTS]
})
export class UcapUiProfileModule {
  public static forRoot(): ModuleWithProviders<UcapUiProfileModule> {
    return {
      ngModule: UcapUiProfileModule,
      providers: [...SERVICES]
    };
  }
}
