Graduation
/
ui
/node_modules
/bits-ui
/dist
/bits
/date-picker
/components
/date-picker-head-cell.svelte
<script>import { getCtx } from "../ctx.js"; | |
export let asChild = false; | |
export let el = void 0; | |
const { getCalendarAttrs } = getCtx(); | |
const attrs = getCalendarAttrs("head-cell"); | |
</script> | |
{#if asChild} | |
<slot {attrs} /> | |
{:else} | |
<th bind:this={el} {...$$restProps} {...attrs}> | |
<slot {attrs} /> | |
</th> | |
{/if} | |