From 0dd1e3ba29eb99efdca01c25c5b892e6771b94d8 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 12 Aug 2022 23:56:55 +0200 Subject: [PATCH] Added the possibility to specify classes --- I18N Commander/UI MAUI/Components/Icon.razor | 2 +- I18N Commander/UI MAUI/Components/Icon.razor.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/I18N Commander/UI MAUI/Components/Icon.razor b/I18N Commander/UI MAUI/Components/Icon.razor index 3ae9ae5..8e11dc7 100644 --- a/I18N Commander/UI MAUI/Components/Icon.razor +++ b/I18N Commander/UI MAUI/Components/Icon.razor @@ -1 +1 @@ -@this.AltText \ No newline at end of file +@this.AltText \ No newline at end of file diff --git a/I18N Commander/UI MAUI/Components/Icon.razor.cs b/I18N Commander/UI MAUI/Components/Icon.razor.cs index 8bd9d5c..014f8d3 100644 --- a/I18N Commander/UI MAUI/Components/Icon.razor.cs +++ b/I18N Commander/UI MAUI/Components/Icon.razor.cs @@ -12,4 +12,7 @@ public partial class Icon : ComponentBase [Parameter] public ushort Size { get; set; } = 35; + + [Parameter] + public string Classes { get; set; } = string.Empty; } \ No newline at end of file