2020-06-23 15:19:44 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2021-04-04 15:40:54 +08:00
|
|
|
|
using System.ComponentModel;
|
2020-06-23 15:19:44 +08:00
|
|
|
|
using System.Text;
|
2021-04-04 15:40:54 +08:00
|
|
|
|
using System.Threading.Tasks;
|
2020-06-23 15:19:44 +08:00
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
|
|
|
|
|
|
namespace AntDesign
|
|
|
|
|
{
|
2021-04-04 15:40:54 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="TComponentOptions"></typeparam>
|
2020-09-16 19:42:48 +08:00
|
|
|
|
public abstract class TemplateComponentBase<TComponentOptions> : AntComponentBase
|
2020-06-23 15:19:44 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2020-09-16 19:42:48 +08:00
|
|
|
|
/// The options that allow you to pass in templates from the outside
|
2020-06-23 15:19:44 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[Parameter]
|
2020-09-16 19:42:48 +08:00
|
|
|
|
public TComponentOptions Options { get; set; }
|
2020-06-23 15:19:44 +08:00
|
|
|
|
}
|
|
|
|
|
}
|