protected override void RenderAttributes(AttributesBuilder builder) { base.RenderAttributes(builder); if (Color != null) { builder.AddAttribute(nameof(Color), AttributeHelper.ColorToString(Color.Value)); } if (CornerRadius != null) { builder.AddAttribute(nameof(CornerRadius), AttributeHelper.CornerRadiusToString(CornerRadius.Value)); } RenderAdditionalAttributes(builder); }