diff --git a/src/datepicker/daypicker.component.ts b/src/datepicker/daypicker.component.ts
index 1809fcb021..ef7b9ec54d 100644
--- a/src/datepicker/daypicker.component.ts
+++ b/src/datepicker/daypicker.component.ts
@@ -2,22 +2,6 @@ import { Component, OnInit } from '@angular/core';
import { isBs3 } from '../utils/ng2-bootstrap-config';
import { DatePickerInnerComponent } from './datepicker-inner.component';
-// write an interface for template options
-const TEMPLATE_OPTIONS: any = {
- 'bs4': {
- ARROW_LEFT: '<',
- ARROW_RIGHT: '>'
- },
- 'bs3': {
- ARROW_LEFT: `
-
- `,
- ARROW_RIGHT: `
-
- `
- }
-};
-
@Component({
selector: 'daypicker',
template: `
@@ -25,11 +9,18 @@ const TEMPLATE_OPTIONS: any = {
- |
@@ -42,11 +33,18 @@ const TEMPLATE_OPTIONS: any = {
|
-
+
+
+
+ >
|
@@ -85,12 +83,8 @@ export class DayPickerComponent implements OnInit {
public rows: any[] = [];
public weekNumbers: number[] = [];
public datePicker: DatePickerInnerComponent;
- public CURRENT_THEME_TEMPLATE: any;
public constructor(datePicker: DatePickerInnerComponent) {
- this.CURRENT_THEME_TEMPLATE = isBs3()
- ? TEMPLATE_OPTIONS.bs3
- : TEMPLATE_OPTIONS.bs4;
this.datePicker = datePicker;
}