aboutsummaryrefslogtreecommitdiff
path: root/examples/integrations-playground/src/components/Test.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integrations-playground/src/components/Test.js')
-rw-r--r--examples/integrations-playground/src/components/Test.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/integrations-playground/src/components/Test.js b/examples/integrations-playground/src/components/Test.js
new file mode 100644
index 000000000..7f565f777
--- /dev/null
+++ b/examples/integrations-playground/src/components/Test.js
@@ -0,0 +1,19 @@
+import { LitElement, html } from 'lit';
+
+export const tagName = 'calc-add';
+
+class CalcAdd extends LitElement {
+ static get properties() {
+ return {
+ num: {
+ type: Number,
+ },
+ };
+ }
+
+ render() {
+ return html` <div>Number: ${this.num}</div> `;
+ }
+}
+
+customElements.define(tagName, CalcAdd);