diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-07-03 00:43:34 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-07-03 00:43:43 +0200 |
commit | 257019113200d714d86d22ccab6c18b37cd28283 (patch) | |
tree | 9733af3c1f1d2194d31128301944fbcdcbcdfc01 /MatrixRoomUtils.Web/Shared/SimpleComponents | |
parent | Prefetch room info (diff) | |
download | MatrixUtils-257019113200d714d86d22ccab6c18b37cd28283.tar.xz |
Local changes
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/SimpleComponents')
-rw-r--r-- | MatrixRoomUtils.Web/Shared/SimpleComponents/LinkButton.razor | 7 |
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 |