Skip to content

Commit

Permalink
feat(package): added mat-jumbotron-content component
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Jun 19, 2018
1 parent 1160b8e commit 1a187fd
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
@@ -0,0 +1,3 @@
<ng-template>
<ng-content></ng-content>
</ng-template>
Empty file.
@@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { MatJumbotronContentComponent } from './mat-jumbotron-content.component';

describe('MatJumbotronContentComponent', () => {
let component: MatJumbotronContentComponent;
let fixture: ComponentFixture<MatJumbotronContentComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ MatJumbotronContentComponent ]
})
.compileComponents();
}));

beforeEach(() => {
fixture = TestBed.createComponent(MatJumbotronContentComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,20 @@
import {Component, OnInit, TemplateRef, ViewChild} from '@angular/core';

@Component({
selector: 'mat-jumbotron-content',
templateUrl: './mat-jumbotron-content.component.html',
styleUrls: ['./mat-jumbotron-content.component.scss']
})
export class MatJumbotronContentComponent implements OnInit {

/** Template for page outlook content. */
@ViewChild(TemplateRef)
content: TemplateRef<any>;

constructor() {
}

ngOnInit() {
}

}

0 comments on commit 1a187fd

Please sign in to comment.