about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor')
-rw-r--r--MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor7
1 files changed, 5 insertions, 2 deletions
diff --git a/MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor b/MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor

index 8c9e73b..09b5c32 100644 --- a/MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor +++ b/MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor
@@ -1,4 +1,4 @@ -<a href="@href" class="btn btn-primary"> +<a href="@href" class="btn btn-primary" style="background-color: @(Color ?? "#1b6ec2");"> @ChildContent </a> @@ -9,5 +9,8 @@ [Parameter] public RenderFragment ChildContent { get; set; } - + + [Parameter] + public string? Color { get; set; } + } \ No newline at end of file