Skip to content

Commit

Permalink
add collapsed property
Browse files Browse the repository at this point in the history
  • Loading branch information
yagizhanNY committed Mar 21, 2024
1 parent b03d92d commit bd6977c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SiemensIXBlazor/Components/PushCard/PushCard.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
notification="@Notification"
heading="@Heading"
subheading="@SubHeading"
variant="@(EnumParser<PushCardVariant>.ParseEnumToString(Variant))">
variant="@(EnumParser<PushCardVariant>.ParseEnumToString(Variant))"
collapsed="@Collapsed">
</ix-push-card>

2 changes: 2 additions & 0 deletions SiemensIXBlazor/Components/PushCard/PushCard.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public partial class PushCard
/// </summary>
[Parameter]
public string? SubHeading { get; set; }
[Parameter]
public bool Collapsed { get; set; } = true;
/// <summary>
/// Card variant
/// </summary>
Expand Down

0 comments on commit bd6977c

Please sign in to comment.