Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/examples/example-module.ts
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {CommonModule} from '@angular/common';
import {MaterialModule} from '@angular/material';
import {AutocompleteOverviewExample} from './autocomplete-overview/autocomplete-overview-example';
import {ButtonOverviewExample} from './button-overview/button-overview-example';
import {ButtonTypesExample} from './button-types/button-types-example';
import {CheckboxOverviewExample} from './checkbox-overview/checkbox-overview-example';
Expand DownExpand Up@@ -84,6 +85,7 @@ export interface LiveExample {
* Value is the component.
*/
export const EXAMPLE_COMPONENTS = {
'autocomplete-overview': {title: 'Basic autocomplete', component: AutocompleteOverviewExample},
'button-overview': {title: 'Basic buttons', component: ButtonOverviewExample},
'button-types': {title: 'Button varieties', component: ButtonTypesExample},
'button-toggle-exclusive': {
Expand DownExpand Up@@ -169,6 +171,7 @@ export const EXAMPLE_COMPONENTS = {
* We need to put them in both `declarations` and `entryComponents` to make them work.
*/
export const EXAMPLE_LIST = [
AutocompleteOverviewExample,
ButtonOverviewExample,
ButtonToggleExclusiveExample,
ButtonToggleOverviewExample,
Expand DownExpand Up@@ -226,6 +229,7 @@ export const EXAMPLE_LIST = [
imports: [
MaterialModule,
FormsModule,
ReactiveFormsModule,
CommonModule,
]
})
Expand Down