From b7e39b59fd0fc7b5610ebff29035bf622079e0d8 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Wed, 5 Oct 2022 20:45:21 +0800
Subject: refactor: Change file structure

---
 .../web-shared/src/components/table/tcell.svelte   | 23 ----------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 old-apps/web-shared/src/components/table/tcell.svelte

(limited to 'old-apps/web-shared/src/components/table/tcell.svelte')

diff --git a/old-apps/web-shared/src/components/table/tcell.svelte b/old-apps/web-shared/src/components/table/tcell.svelte
deleted file mode 100644
index 76f500f..0000000
--- a/old-apps/web-shared/src/components/table/tcell.svelte
+++ /dev/null
@@ -1,23 +0,0 @@
-<script lang="ts">
-    export let thScope: "row"|"col"|"rowgroup"|"colgroup"|"";
-    export let colspan = "";
-    export let type: "th"|"td" = "td";
-    export let style;
-
-    $: shared_props = {
-        colspan: colspan || null,
-        style: style || null,
-        class: [type === "th" ? "int-table__cell--th" : "", "int-table__cell", $$restProps.class ?? ""].filter(Boolean).join(" "),
-    };
-</script>
-{#if type === "th"}
-    <th {thScope}
-        {...shared_props}>
-        <slot/>
-    </th>
-{/if}
-{#if type === "td"}
-    <td {...shared_props}>
-        <slot/>
-    </td>
-{/if}
-- 
cgit v1.3

