You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Connected.Utilities;
|
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
|
|
|
|
|
|
namespace Connected.Components;
|
|
|
|
|
|
|
|
|
|
public partial class Td : UIComponent
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
protected string Classname =>
|
|
|
|
|
new CssBuilder("mud-table-cell")
|
|
|
|
|
.AddClass("mud-table-cell-hide", HideSmall)
|
|
|
|
|
.AddClass(Class)
|
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
[Parameter] public RenderFragment ChildContent { get; set; }
|
|
|
|
|
|
|
|
|
|
[Parameter] public string DataLabel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Hide cell when breakpoint is smaller than the defined value in table.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Parameter] public bool HideSmall { get; set; }
|
|
|
|
|
}
|