summaryrefslogtreecommitdiff
path: root/examples/integrations-playground/src/components/my-counter.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/integrations-playground/src/components/my-counter.js (renamed from examples/integrations-playground/src/components/Counter.js)6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/integrations-playground/src/components/Counter.js b/examples/integrations-playground/src/components/my-counter.js
index 35fa8dbbb..adc9e4a3d 100644
--- a/examples/integrations-playground/src/components/Counter.js
+++ b/examples/integrations-playground/src/components/my-counter.js
@@ -1,8 +1,6 @@
import { LitElement, html } from 'lit';
-export const tagName = 'my-counter';
-
-class Counter extends LitElement {
+export class MyCounter extends LitElement {
static get properties() {
return {
count: {
@@ -31,4 +29,4 @@ class Counter extends LitElement {
}
}
-customElements.define(tagName, Counter);
+customElements.define('my-counter', MyCounter);