|
|
@ -9,16 +9,18 @@ |
|
|
<ModalBody> |
|
|
<ModalBody> |
|
|
@if ( ShowMessageIcon ) |
|
|
@if ( ShowMessageIcon ) |
|
|
{ |
|
|
{ |
|
|
<DisplayHeading Size="DisplayHeadingSize.Is2" Style="text-align:center;"> |
|
|
<DisplayHeading Size="DisplayHeadingSize.Is2" Alignment="TextAlignment.Center"> |
|
|
<Icon Name="@MessageIcon" Style="@MessageIconStyle" /> |
|
|
<Icon Name="@MessageIcon" Style="@MessageIconStyle" /> |
|
|
</DisplayHeading> |
|
|
</DisplayHeading> |
|
|
} |
|
|
} |
|
|
@Message |
|
|
<Text Alignment="TextAlignment.Center"> |
|
|
|
|
|
@Message |
|
|
|
|
|
</Text> |
|
|
</ModalBody> |
|
|
</ModalBody> |
|
|
<ModalFooter> |
|
|
<ModalFooter> |
|
|
@if ( IsConfirmation ) |
|
|
@if ( IsConfirmation ) |
|
|
{ |
|
|
{ |
|
|
<Button Color="Color.Danger" Padding="Padding.Is2.OnX" Margin="Margin.IsAuto.FromRight" Clicked="@OnCancelClicked"> |
|
|
<Button Color="Color.Danger" Padding="Padding.Is2.OnX" Clicked="@OnCancelClicked"> |
|
|
@if ( Options?.CancelButtonIcon != null ) |
|
|
@if ( Options?.CancelButtonIcon != null ) |
|
|
{ |
|
|
{ |
|
|
<Icon Name="@Options.CancelButtonIcon" Margin="Margin.Is2.FromRight" /> |
|
|
<Icon Name="@Options.CancelButtonIcon" Margin="Margin.Is2.FromRight" /> |
|
|
|