Skip to main content

MessageBarProps

@spartanfx/react v1.2.2


@spartanfx/react / index / MessageBarProps

Interface: MessageBarProps

Props accepted by MessageBar.

Properties

Options

PropertyTypeDescription
type?MessageBarTypeVisual style of the bar. Defaults to 'info'.

Advanced & escape hatches

PropertyTypeDescription
buttonProps?objectOptional configuration for a trailing ActionButton
buttonProps.icon?stringName of a Fluent UI icon (e.g. 'Undo').
buttonProps.labelstringButton label text.
buttonProps.onClick() => voidClick handler invoked when the button is pressed.