summaryrefslogtreecommitdiff
path: root/examples/framework-lit/src/components/Test.js
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-07-13 12:28:50 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-07-13 12:28:50 +0000
commit59f6792b00c8af2c89bef6d0a9bd31208e466607 (patch)
treea8eed467ede8385b446f0f0cf230ebc5dfd2511d /examples/framework-lit/src/components/Test.js
parent48851c9d256b78c8e99e72d91ed98209a6a99e93 (diff)
downloadastro-59f6792b00c8af2c89bef6d0a9bd31208e466607.tar.gz
astro-59f6792b00c8af2c89bef6d0a9bd31208e466607.tar.zst
astro-59f6792b00c8af2c89bef6d0a9bd31208e466607.zip
[ci] yarn format
Diffstat (limited to 'examples/framework-lit/src/components/Test.js')
-rw-r--r--examples/framework-lit/src/components/Test.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/framework-lit/src/components/Test.js b/examples/framework-lit/src/components/Test.js
index 75d592871..182755c79 100644
--- a/examples/framework-lit/src/components/Test.js
+++ b/examples/framework-lit/src/components/Test.js
@@ -6,16 +6,14 @@ class CalcAdd extends LitElement {
static get properties() {
return {
num: {
- type: Number
- }
+ type: Number,
+ },
};
}
render() {
- return html`
- <div>Number: ${this.num}</div>
- `;
+ return html` <div>Number: ${this.num}</div> `;
}
}
-customElements.define(tagName, CalcAdd); \ No newline at end of file
+customElements.define(tagName, CalcAdd);