Skip to content

Commit

Permalink
chore: rename component
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo committed Sep 23, 2024
1 parent ee394c1 commit de8acfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web-components/nested-rows/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<title>Vite + Lit + TS</title>
<link rel="stylesheet" href="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/plex.css" />
<link rel="stylesheet" href="./src/index.scss" />
<script type="module" src="/src/basic.ts"></script>
<script type="module" src="/src/nestedRowTable.ts"></script>
</head>
<body>
<basic-tanstack-table></basic-tanstack-table>
<nested-row-table></nested-row-table>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -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<Resource>(this);

_columns = [
Expand Down Expand Up @@ -214,7 +214,7 @@ export class MyBasicTable extends LitElement {

declare global {
interface HTMLElementTagNameMap {
'basic-tanstack-table': MyBasicTable
'nested-row-table': NestedRowTable
}

}

0 comments on commit de8acfe

Please sign in to comment.