diff --git a/Oqtane.Client/Modules/Controls/Alert.razor b/Oqtane.Client/Modules/Controls/Alert.razor new file mode 100644 index 00000000..3c8a0a77 --- /dev/null +++ b/Oqtane.Client/Modules/Controls/Alert.razor @@ -0,0 +1,22 @@ +@namespace Oqtane.Modules.Controls +@inherits ModuleControlBase + +@if (!string.IsNullOrEmpty(Message)) +{ + +} + +@code { + [Parameter] + public string Message { get; set; } + + [Parameter] + public AlertType Type { get; set; } + + protected override void OnInitialized() + { + base.OnInitialized(); + } +} \ No newline at end of file diff --git a/Oqtane.Client/Modules/Controls/AlertType.cs b/Oqtane.Client/Modules/Controls/AlertType.cs new file mode 100644 index 00000000..a4b0a7aa --- /dev/null +++ b/Oqtane.Client/Modules/Controls/AlertType.cs @@ -0,0 +1,10 @@ +namespace Oqtane.Modules.Controls +{ + public enum AlertType + { + Information, + Danger, + Success, + Warning + } +}