feat: separate some Notification shared files.

This commit is contained in:
Zhang Dian
2024-09-09 18:25:26 +08:00
parent f830da7799
commit cd8bf3adaf
8 changed files with 335 additions and 329 deletions

View File

@@ -6,10 +6,10 @@
<StackPanel Orientation="Horizontal">
<u:ToastCard ShowClose="False" />
<u:ToastCard>
Hello, Semi.Avalonia!
Hello, Ursa!
</u:ToastCard>
<u:ToastCard NotificationType="Success" ShowClose="False">
<u:Toast Content="Hello, Semi.Avalonia!" />
<u:Toast Content="Hello, Ursa!" />
</u:ToastCard>
</StackPanel>
</ThemeVariantScope>
@@ -87,7 +87,7 @@
Grid.Column="2"
Theme="{StaticResource ToastCloseButton}"
IsVisible="{TemplateBinding ShowClose}"
u:ToastCard.CloseOnClick="True" />
u:MessageCard.CloseOnClick="True" />
</Grid>
</Border>
</Border>