ant-design-blazor/components/checkbox/CheckBoxOption.cs
James Yeung 698ae84ab1
feat(module: checkbox): support generic value (#3715)
* feat(module: checkbox): support generic value

* fix tests

* fix test

* fix name

* fix tests

* fix tests
2024-04-02 22:15:48 +08:00

19 lines
349 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AntDesign
{
public class CheckboxOption<TValue>
{
public string Label { get; set; }
public TValue Value { get; set; }
public bool Checked { get; set; }
public bool Disabled { get; set; }
}
}