Skip to main content
Version: 1.0.5

MessageBarProps

@spartanfx/react v1.0.5


@spartanfx/react / MessageBarProps

Interface: MessageBarProps

Props accepted by MessageBar.

Properties

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.
type?MessageBarTypeVisual style of the bar. Defaults to 'info'.