fix(icon): use LitElement
This commit is contained in:
parent
c62d3353a2
commit
bd5f51e3d7
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import { html, css, render, unsafeHTML, until } from '@lion/core';
|
||||
import { LionLitElement } from '@lion/core/src/LionLitElement.js';
|
||||
import { html, css, render, unsafeHTML, until, LitElement } from '@lion/core';
|
||||
|
||||
const isDefinedPromise = action => typeof action === 'object' && Promise.resolve(action) === action;
|
||||
|
||||
|
|
@ -7,7 +6,7 @@ const isDefinedPromise = action => typeof action === 'object' && Promise.resolve
|
|||
* Custom element for rendering SVG icons
|
||||
* @polymerElement
|
||||
*/
|
||||
export class LionIcon extends LionLitElement {
|
||||
export class LionIcon extends LitElement {
|
||||
static get properties() {
|
||||
return {
|
||||
svg: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue