3 changed files
WPE.App.Shared.BaseComponents | ||
Pages/Buttons | ||
ButtonPrimary.razor | ||
ButtonSecondary.razor | ||
WPE.App.Shared.BaseComponents.csproj | ||
ButtonPrimary.razor
/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonPrimary.razor-2+5/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonPrimary.razor
Add comment 47 [Parameter]
Add comment 48 public bool Active { get; set; } = true;
Add comment 49
Add comment 50 Plus [Parameter]
Add comment 51 Plus public string Style { get; set; } = string.Empty;
Add comment 52 Plus
Add comment 50 53 private string GetStyle()
Add comment 51 54 {
Add comment 52 Minus if (!String.IsNullOrEmpty(CustomHeight))
Add comment 55 Plus if (!String.IsNullOrEmpty(Style))
Add comment 53 56 {
Add comment 54 Minus return $"height: {CustomHeight}";
Add comment 57 Plus return Style;
Add comment 55 58 }
Add comment 56 59 return "";
Add comment 57 60 }
ButtonSecondary.razor
/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonSecondary.razor/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonSecondary.razor
WPE.App.Shared.BaseComponents.csproj
/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj