Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Legacy API Reference
Enterprise
Table API Reference

SubscribeProps

Type Alias: SubscribeProps<TFeatures, TData, TSelected>

ts
type SubscribeProps<TFeatures, TData, TSelected> = object;

Defined in: Subscribe.ts:12

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TSelected

TSelected = { }

Properties

children

ts
children: (state) => ReactNode | ReactNode;

Defined in: Subscribe.ts:30

The children to render. Can be a function that receives the selected state, or a React node.


selector()

ts
selector: (state) => TSelected;

Defined in: Subscribe.ts:26

A selector function that selects the part of the table state to subscribe to. This allows for fine-grained reactivity by only re-rendering when the selected state changes.

Parameters

state

NoInfer<TableState<TFeatures>>

Returns

TSelected


table

ts
table: Table<TFeatures, TData>;

Defined in: Subscribe.ts:21

The table instance to subscribe to. Required when using as a standalone component. Not needed when using as table.Subscribe.