zhaolei
2020-11-20 921de2254ff5712a44ed8575ee8efe34252f6603
commit | author | age
921de2 1 using Microsoft.AspNetCore.Components;
Z 2 using System;
3
4 namespace Bootstrap.Admin.Pages.Components
5 {
6     /// <summary>
7     /// 
8     /// </summary>
9     public class SelectItemBase : ComponentBase
10     {
11         /// <summary>
12         /// 
13         /// </summary>
14         [Parameter]
15         public SelectedItem Item { get; set; } = new SelectedItem();
16
17         /// <summary>
18         /// 
19         /// </summary>
20         [Parameter]
21         public Action<SelectedItem> ItemClickCallback { get; set; } = new Action<SelectedItem>(SelectedItem => { });
22     }
23 }