refactor(all): using ComponentInterface

This commit is contained in:
Manu Mtz.-Almeida
2018-09-14 18:45:39 +02:00
parent 9ad05d85cd
commit c49d896e08
99 changed files with 208 additions and 224 deletions

View File

@ -1,4 +1,4 @@
import { Component, Prop } from '@stencil/core';
import { Component, ComponentInterface, Prop } from '@stencil/core';
import { Color, Config, Mode } from '../../interface';
@ -10,7 +10,7 @@ import { Color, Config, Mode } from '../../interface';
},
shadow: true
})
export class MenuButton {
export class MenuButton implements ComponentInterface {
@Prop({ context: 'config' }) config!: Config;