Skip to main content

Type Alias: AdwExpanderRowProps

AdwExpanderRowProps = Omit<AdwPreferencesRowProps, "onNotify"> & object

Defined in: generated/jsx.ts:4011

Props for the AdwExpanderRow widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:4040
enableExpansion?booleanWhether expansion is enabled.generated/jsx.ts:4013
expanded?booleanWhether the row is expanded.generated/jsx.ts:4015
iconName?string | nullThe icon name for this row.generated/jsx.ts:4017
onNotify?(self, propName) => void | nullCalled when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case)generated/jsx.ts:4046
ref?Ref<Adw.ExpanderRow>-generated/jsx.ts:4059
showEnableSwitch?booleanWhether the switch enabling the expansion is visible.generated/jsx.ts:4019
subtitle?stringThe subtitle for this row. The subtitle is interpreted as Pango markup unless AdwPreferencesRow.use-markup is set to FALSE.generated/jsx.ts:4026
subtitleLines?numberThe number of lines at the end of which the subtitle label will be ellipsized. If the value is 0, the number of lines won't be limited.generated/jsx.ts:4033
titleLines?numberThe number of lines at the end of which the title label will be ellipsized. If the value is 0, the number of lines won't be limited.generated/jsx.ts:4039