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 { html, css, render, unsafeHTML, until, LitElement } from '@lion/core';
|
||||||
import { LionLitElement } from '@lion/core/src/LionLitElement.js';
|
|
||||||
|
|
||||||
const isDefinedPromise = action => typeof action === 'object' && Promise.resolve(action) === action;
|
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
|
* Custom element for rendering SVG icons
|
||||||
* @polymerElement
|
* @polymerElement
|
||||||
*/
|
*/
|
||||||
export class LionIcon extends LionLitElement {
|
export class LionIcon extends LitElement {
|
||||||
static get properties() {
|
static get properties() {
|
||||||
return {
|
return {
|
||||||
svg: {
|
svg: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue