Skip to main content

Function: styleSheet()

styleSheet<Row>(spec, theme?): string

Defined in: packages/sdvtables/src/html/parts.ts:125

The <style> body without the tag: token block + base sheet + the theme's own rules, scoped to .sdvt-t-<key>. A host page emits it once per key.

Type Parameters​

Row​

Row

Parameters​

spec​

TableSpec<Row>

theme?​

Theme = ...

Returns​

string