ant-design-blazor/components/tree/ITreeData.cs
James Yeung 1baaa5be3d
refactor(module: TreeSelect): Expression and selection (#2507)
* refactor(module: tree-select): expression and LabelTemplate

* delete simple tree select
2022-06-11 02:31:35 +08:00

22 lines
527 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
namespace AntDesign
{
public interface ITreeData<TItem>
{
public string Key { get; set; }
public string Title { get; set; }
public TItem Value { get; }
public IEnumerable<TItem> Children { get; set; }
}
}