forked from tykayn/funky-framadate-front
Add calendar component
This commit is contained in:
parent
8eecb506c3
commit
9dace55091
@ -20,6 +20,7 @@ import { PicturesComponent } from './pages/pictures/pictures.component';
|
||||
import { AnswersComponent } from './pages/answers/answers.component';
|
||||
import { EndConfirmationComponent } from './pages/end-confirmation/end-confirmation.component';
|
||||
import { CreateOrRetrieveComponent } from './page/create-or-retrieve/create-or-retrieve.component';
|
||||
import { CalendarComponent } from './calendar/calendar.component';
|
||||
|
||||
|
||||
@NgModule({
|
||||
@ -38,6 +39,7 @@ import { CreateOrRetrieveComponent } from './page/create-or-retrieve/create-or-r
|
||||
AnswersComponent,
|
||||
EndConfirmationComponent,
|
||||
CreateOrRetrieveComponent,
|
||||
CalendarComponent,
|
||||
|
||||
],
|
||||
imports: [
|
||||
|
1
src/app/calendar/calendar.component.html
Normal file
1
src/app/calendar/calendar.component.html
Normal file
@ -0,0 +1 @@
|
||||
<p>calendar works!</p>
|
1
src/app/calendar/calendar.component.html.save
Normal file
1
src/app/calendar/calendar.component.html.save
Normal file
@ -0,0 +1 @@
|
||||
|
0
src/app/calendar/calendar.component.scss
Normal file
0
src/app/calendar/calendar.component.scss
Normal file
25
src/app/calendar/calendar.component.spec.ts
Normal file
25
src/app/calendar/calendar.component.spec.ts
Normal file
@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CalendarComponent } from './calendar.component';
|
||||
|
||||
describe('CalendarComponent', () => {
|
||||
let component: CalendarComponent;
|
||||
let fixture: ComponentFixture<CalendarComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ CalendarComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CalendarComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
15
src/app/calendar/calendar.component.ts
Normal file
15
src/app/calendar/calendar.component.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'framadate-calendar',
|
||||
templateUrl: './calendar.component.html',
|
||||
styleUrls: ['./calendar.component.scss']
|
||||
})
|
||||
export class CalendarComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user