API Reference / @gtkx/components / TabCollectionOptions
Type Alias: TabCollectionOptions<T>
TabCollectionOptions<
T> =object
Defined in: packages/components/src/types.ts:298
Describes the JSX page rendered for each value in a TabCollection.
Type Parameters
T
T
Properties
pageProps
pageProps: (
item,getPage) =>Omit<AdwTabPageProps,"ref"|"parent">
Defined in: packages/components/src/types.ts:300
Native page props and JSX content. Call getPage in event handlers to access the mounted page. The collection owns its ref and parent relationship.
Parameters
item
T
getPage
() => Adw.TabPage | null
Returns
Omit<AdwTabPageProps, "ref" | "parent">