Data
TableHeader
Table header section. Wraps the Polaris <s-table-header> web component.
Usage
<template>
<ShTable>
<ShTableHeader list-slot="header" format="row">
<ShTableHeaderRow>
<ShTableCell>Name</ShTableCell>
<ShTableCell>Price</ShTableCell>
</ShTableHeaderRow>
</ShTableHeader>
</ShTable>
</template>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
listSlot | string | — | Slot name for list view |
format | string | — | Header format |
Slots
| Slot | Description |
|---|---|
default | Header row(s) |
Polaris Element
Renders as <s-table-header>.