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.
31 lines
870 B
31 lines
870 B
2 years ago
|
@namespace Connected.Components
|
||
|
|
||
|
@inherits ButtonBase
|
||
|
|
||
|
@using Connected.Extensions;
|
||
|
|
||
|
<Element @bind-Ref="@_elementReference"
|
||
|
HtmlTag="@HtmlTag"
|
||
|
Class="@Classname"
|
||
|
Style="@Style"
|
||
|
@attributes="UserAttributes"
|
||
|
@onclick="OnClickHandler"
|
||
|
type="@ButtonType.ToDescriptionString()"
|
||
|
href="@Href"
|
||
|
target="@Target"
|
||
|
rel="@(Target=="_blank"?"noopener":null)"
|
||
|
disabled="@Disabled"
|
||
|
title="@Title">
|
||
|
<span class="mud-fab-label">
|
||
|
@if (!string.IsNullOrWhiteSpace(StartIcon))
|
||
|
{
|
||
|
<Icon Icon="@StartIcon" Color="@IconColor" Size="@IconSize" />
|
||
|
}
|
||
|
@Label
|
||
|
@if (!string.IsNullOrWhiteSpace(EndIcon))
|
||
|
{
|
||
|
<Icon Icon="@EndIcon" Color="@IconColor" Size="@IconSize" />
|
||
|
}
|
||
|
</span>
|
||
|
</Element>
|