Skip to content

Commit

Permalink
fix(module: TabBar): TabsModule import is no needed (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy committed Dec 5, 2018
1 parent 37f20ae commit eab449b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/tab-bar/tab-bar.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { TabBar } from './tab-bar.component';
import { BadgeModule } from '../badge/badge.module';
import { TabBarTab } from './tab-bar-tab.component';

export { TabPane } from '../tabs/tabs.module';

@NgModule({
imports: [CommonModule, TabsModule, BadgeModule],
exports: [TabBar, TabBarTab],
Expand Down
2 changes: 2 additions & 0 deletions components/tabs/tabs.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { Tabs } from './tabs.component';
import { TabPane } from './tab-pane.component';
import { DefaultTabBarComponent } from './default-tab-bar.component';

export { TabPane } from './tab-pane.component';

@NgModule({
imports: [CommonModule, ObserversModule],
declarations: [TabPane, Tabs, DefaultTabBarComponent],
Expand Down

0 comments on commit eab449b

Please sign in to comment.