diff --git a/web-components/nested-rows/index.html b/web-components/nested-rows/index.html index aeeeebd..9914787 100644 --- a/web-components/nested-rows/index.html +++ b/web-components/nested-rows/index.html @@ -7,9 +7,9 @@ Vite + Lit + TS - + - + diff --git a/web-components/nested-rows/src/basic.ts b/web-components/nested-rows/src/nestedRowTable.ts similarity index 97% rename from web-components/nested-rows/src/basic.ts rename to web-components/nested-rows/src/nestedRowTable.ts index b1b6800..6006f20 100644 --- a/web-components/nested-rows/src/basic.ts +++ b/web-components/nested-rows/src/nestedRowTable.ts @@ -34,8 +34,8 @@ const data: Resource[] = makeData(10, 5); * */ -@customElement('basic-tanstack-table') -export class MyBasicTable extends LitElement { +@customElement('nested-row-table') +export class NestedRowTable extends LitElement { private tableController = new TableController(this); _columns = [ @@ -214,7 +214,7 @@ export class MyBasicTable extends LitElement { declare global { interface HTMLElementTagNameMap { - 'basic-tanstack-table': MyBasicTable + 'nested-row-table': NestedRowTable } } \ No newline at end of file