@gtkx/react / StackPageProps
Type Alias: StackPageProps
StackPageProps =
object
Defined in: packages/react/src/jsx.ts:467
Props for pages within a Stack or ViewStack.
Used by GtkStack.Page and AdwViewStack.Page compound components.
Properties
badgeNumber?
optionalbadgeNumber?:number
Defined in: packages/react/src/jsx.ts:483
Badge number shown on the page indicator
children?
optionalchildren?:ReactNode
Defined in: packages/react/src/jsx.ts:469
Content to place in the stack page
iconName?
optionaliconName?:string
Defined in: packages/react/src/jsx.ts:475
Icon name from the icon theme
id?
optionalid?:string
Defined in: packages/react/src/jsx.ts:471
Unique identifier for this page (used with page prop)
needsAttention?
optionalneedsAttention?:boolean
Defined in: packages/react/src/jsx.ts:477
Whether to show an attention indicator
title?
optionaltitle?:string
Defined in: packages/react/src/jsx.ts:473
Display title shown in stack switchers
useUnderline?
optionaluseUnderline?:boolean
Defined in: packages/react/src/jsx.ts:481
Whether underscores in title indicate mnemonics
visible?
optionalvisible?:boolean
Defined in: packages/react/src/jsx.ts:479
Whether this page is visible in switchers