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.
24 lines
558 B
24 lines
558 B
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; }
|
|
}
|