GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemTitleStyle - React Native

The BlazeWidgetItemTitleStyle struct is part of the BlazeSDK and is responsible for defining the appearance and positioning properties of the title within a BlazeWidgetItemStyle. This includes properties such as visibility, position, margins, and text styles for unread and read states.

Properties

isVisible

isVisible?: boolean

Indicates whether the title is visible.

position

position?: BlazeObjectPositioning = { ... }

The position of the title Relative To The Image within the widget item.

margins

margins?: BlazeMargins

The insets of the title.

unreadStyle

unreadStyle?: BlazeTitleStyle = { ... }

A BlazeWidgetItemTitleStyle object that defines the style settings for the title when the item is in an unread state.

readStyle

readStyle?: BlazeTitleStyle = { ... }

A BlazeWidgetItemTitleStyle object that defines the style settings for the title when the item is in a read state.

Initialization

The BlazeWidgetItemTitle can be initialized with custom values for its properties or with the default values:

interface BlazeWidgetItemTitleStyle {
  isVisible?: boolean;
  readState?: BlazeTitleStyle;
  unreadState?: BlazeTitleStyle;
  position?: BlazeObjectPositioning;
  margins?: BlazeMargins;
}

Did this page help you?