File size: 311 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<script>import { getCtx } from "../ctx.js";
export let asChild = false;
export let el = void 0;
const { getCalendarAttrs } = getCtx();
const attrs = getCalendarAttrs("grid-row");
</script>
{#if asChild}
<slot {attrs} />
{:else}
<tr bind:this={el} {...$$restProps} {...attrs}>
<slot {attrs} />
</tr>
{/if}
|