<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
			 xmlns:vm="using:Needlework.Net.ViewModels.MainWindow"
			 xmlns:ui="using:FluentAvalonia.UI.Controls"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="Needlework.Net.Views.MainWindow.NotificationView"
			 x:DataType="vm:NotificationViewModel">
	<Border Margin="4">
		<ui:InfoBar
		IsOpen="True"
		Background="{DynamicResource SolidBackgroundFillColorBaseBrush}"
		Title="{Binding Notification.Title}"
		Severity="{Binding Notification.InfoBarSeverity}"
		Message="{Binding Notification.Message}">
			<ui:InfoBar.ActionButton>
				<Button Command="{Binding OpenUrlCommand}"
						IsVisible="{Binding IsButtonVisible}">
					Open URL
				</Button>
			</ui:InfoBar.ActionButton>
		</ui:InfoBar>
	</Border>
</UserControl>
