-
Notifications
You must be signed in to change notification settings - Fork 6.7k
/
tabs-module.ts
59 lines (56 loc) · 1.5 KB
/
tabs-module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {A11yModule} from '@angular/cdk/a11y';
import {ObserversModule} from '@angular/cdk/observers';
import {PortalModule} from '@angular/cdk/portal';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {MatCommonModule, MatRippleModule} from '@angular/material/core';
import {MatInkBar} from './ink-bar';
import {MatTab} from './tab';
import {MatTabBody, MatTabBodyPortal} from './tab-body';
import {MatTabContent} from './tab-content';
import {MatTabGroup} from './tab-group';
import {MatTabHeader} from './tab-header';
import {MatTabLabel} from './tab-label';
import {MatTabLabelWrapper} from './tab-label-wrapper';
import {MatTabLink, MatTabNav} from './tab-nav-bar/tab-nav-bar';
@NgModule({
imports: [
CommonModule,
MatCommonModule,
PortalModule,
MatRippleModule,
ObserversModule,
A11yModule,
],
// Don't export all components because some are only to be used internally.
exports: [
MatCommonModule,
MatTabGroup,
MatTabLabel,
MatTab,
MatTabNav,
MatTabLink,
MatTabContent,
],
declarations: [
MatTabGroup,
MatTabLabel,
MatTab,
MatInkBar,
MatTabLabelWrapper,
MatTabNav,
MatTabLink,
MatTabBody,
MatTabBodyPortal,
MatTabHeader,
MatTabContent,
],
})
export class MatTabsModule {}