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.
Connected.Components/Components/Timeline/TimelineItem.razor

34 lines
870 B

2 years ago
@namespace Connected.Components
@inherits UIComponent
<div @attributes="UserAttributes" class="@Classnames" style="@Style" @onclick="Select">
<div class="mud-timeline-item-content">
@if (ChildContent != null)
{
@ChildContent
}
else if (ItemContent != null)
{
@ItemContent
}
</div>
<div class="mud-timeline-item-divider">
@if(!HideDot)
{
<div class="@DotClassnames">
<div class="@DotInnerClassnames" style="@DotStyle">
@if(ItemDot != null)
{
@ItemDot
}
</div>
</div>
}
</div>
@if (ItemOpposite != null)
{
<div class="mud-timeline-item-opposite">
@ItemOpposite
</div>
}
</div>