mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
22 lines
478 B
C#
22 lines
478 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public partial class CardAction : AntDomComponentBase
|
|
{
|
|
[CascadingParameter] private Card Card { get; set; }
|
|
|
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
Card?.AddCardAction(this);
|
|
|
|
base.OnInitialized();
|
|
}
|
|
}
|
|
}
|