ant-design-blazor/components/core/Base/TemplateComponentBase.cs
zxyao 31aac9f914 refactor: unified use of FeedbackComponent for modal comfirm and drawer (#1263)
* refactor: support to use the same template for confirm and modal

* refactor: support to use the same template for drawer

* refactor: separate interface IOkCancelRef

* chore: modify EventUtil class summary

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-04 15:40:54 +08:00

23 lines
591 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
namespace AntDesign
{
/// <summary>
///
/// </summary>
/// <typeparam name="TComponentOptions"></typeparam>
public abstract class TemplateComponentBase<TComponentOptions> : AntComponentBase
{
/// <summary>
/// The options that allow you to pass in templates from the outside
/// </summary>
[Parameter]
public TComponentOptions Options { get; set; }
}
}