BlazeWidgetItemStatusIndicatorStyle - React Native
The BlazeWidgetItemStatusIndicatorStyle interface is responsible for managing the style and positioning of a status indicator within a widget item. It provides options for live unread, live read, unread, and read states.
Properties
position
position?: BlazeObjectPositioning = { ... }The position of the status indicator Relative To The Image within the widget item.
isVisible
isVisible?: booleanA boolean value that determines whether the status indicator is visible.
Setting to false will hide all the status indicators for the widget item
insets
margins?: BlazeMargins An number value that defines the insets for the status indicator related to the widget item container.
statusTitlePadding
statusTitlePadding?: BlazeMarginsAn number value that defines the padding for the status title to his own container.
liveUnreadState
liveUnreadState: BlazeWidgetItemStatusIndicatorStateStyle = { ... }A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for live unread items.
liveReadState
liveReadState: BlazeWidgetItemStatusIndicatorStateStyle = { ... }A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for live read items.
unreadState
unreadState: BlazeWidgetItemStatusIndicatorStateStyle = { ... }A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for unread items.
readState
readState: BlazeWidgetItemStatusIndicatorStateStyle = { ... }A BlazeWidgetItemStatusIndicatorStateStyle object that defines the style of the status indicator for read items.
Initialization
The BlazeWidgetItemStatusIndicator struct provides static initializers for creating predefined status indicator styles:
interface BlazeWidgetItemStatusIndicatorStyle {
isVisible?: boolean;
position?: BlazeObjectPositioning;
margins?: BlazeMargins;
statusTitlePadding?: BlazeMargins;
liveUnreadState?: BlazeWidgetItemStatusIndicatorStateStyle;
liveReadState?: BlazeWidgetItemStatusIndicatorStateStyle;
unreadState?: BlazeWidgetItemStatusIndicatorStateStyle;
readState?: BlazeWidgetItemStatusIndicatorStateStyle;
}Updated 11 days ago
