diff --git a/src/components/time-period.component.ts b/src/components/time-period.component.ts new file mode 100644 index 0000000..71195b0 --- /dev/null +++ b/src/components/time-period.component.ts @@ -0,0 +1,64 @@ +import { + css, + CSSResult, + customElement, + html, + LitElement, + property, + TemplateResult, +} from 'lit-element'; +import { ClassInfo, classMap } from 'lit-html/directives/class-map'; +import { Period } from '../types'; + +@customElement('time-period') +export class TimePeriodComponent extends LitElement { + static readonly EVENT_TOGGLE = 'toggle'; + + @property() private period!: Period; + + render(): TemplateResult { + return html`