Skip to content

Commit

Permalink
docs: add tabs mdx documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jun 3, 2020
1 parent e012d56 commit 085ec93
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 260 deletions.
118 changes: 0 additions & 118 deletions src/tabs/README.md

This file was deleted.

142 changes: 0 additions & 142 deletions stories/tabs/index.ts

This file was deleted.

16 changes: 16 additions & 0 deletions stories/tabs/lazy-test.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { interval } from 'rxjs';
import { take } from 'rxjs/operators';

@Component({
// tslint:disable-next-line component-selector
selector: 'tabs-lazy-test',
template: `
<ng-content></ng-content>
num: {{ num$ | async }}
`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class LazyTestComponent {
num$ = interval(1000).pipe(take(100));
}
Loading

0 comments on commit 085ec93

Please sign in to comment.