How to use the @nebular/theme.NbChatModule.forRoot function in @nebular/theme

To help you get started, we’ve selected a few @nebular/theme examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github akveo / nebular / src / playground / with-layout / chat / chat.module.ts View on Github external
import { ChatSizesComponent } from './chat-sizes.component';
import { ChatTestComponent } from './chat-test.component';

@NgModule({
  declarations: [
    ChatColorsComponent,
    ChatConversationShowcaseComponent,
    ChatDropComponent,
    ChatMessageTypesShowcaseComponent,
    ChatShowcaseComponent,
    ChatSizesComponent,
    ChatTestComponent,
  ],
  imports: [
    CommonModule,
    NbChatModule.forRoot(),
    NbCardModule,
    ChatRoutingModule ],
})
export class ChatModule {}
github akveo / nebular / next / assets / examples / chat / chat.module.ts View on Github external
import { ChatSizesComponent } from './chat-sizes.component';
import { ChatTestComponent } from './chat-test.component';

@NgModule({
  declarations: [
    ChatColorsComponent,
    ChatConversationShowcaseComponent,
    ChatDropComponent,
    ChatMessageTypesShowcaseComponent,
    ChatShowcaseComponent,
    ChatSizesComponent,
    ChatTestComponent,
  ],
  imports: [
    CommonModule,
    NbChatModule.forRoot(),
    NbCardModule,
    ChatRoutingModule ],
})
export class ChatModule {}
github akveo / nebular / src / framework / theme / components / chat / chat-form.component.spec.ts View on Github external
beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [ NbChatModule.forRoot() ],
    });

    fixture = TestBed.createComponent(NbChatFormComponent);
    chatFormComponent = fixture.componentInstance;

    fixture.detectChanges();
  });
github akveo / ngx-admin / src / app / app.module.ts View on Github external
declarations: [AppComponent],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    AppRoutingModule,

    ThemeModule.forRoot(),

    NbSidebarModule.forRoot(),
    NbMenuModule.forRoot(),
    NbDatepickerModule.forRoot(),
    NbDialogModule.forRoot(),
    NbWindowModule.forRoot(),
    NbToastrModule.forRoot(),
    NbChatModule.forRoot({
      messageGoogleMapKey: 'AIzaSyA_wNuCzia92MAmdLRzmqitRGvCF7wCZPY',
    }),
    CoreModule.forRoot(),
  ],
  bootstrap: [AppComponent],
  providers: [
    { provide: APP_BASE_HREF, useValue: '/' },
  ],
})
export class AppModule {
}