public static string ToIconSizeCssClass(this AlertSize alertSize) { switch (alertSize) { case AlertSize.Large: return($"fa fa-2x"); case AlertSize.Epic: return($"fa fa-3x"); } return("fa"); }
public AlertBuilder Size(AlertSize size) { switch (size) { case AlertSize.Small: this.Component.AppendCssClass("alert-sm"); break; case AlertSize.Large: this.Component.AppendCssClass("alert-lg"); break; } return(this); }