ant-design-blazor/components/dropdown/internal/DropdownGroupButton.razor
James Yeung d16144ece0 refactor: remove the 'ant' prefix for some components that is already in demos (#162)
* refactor: button

* refactor: avatar

* refactor: alert

* fix: input group compact
2020-05-29 12:55:15 +08:00

25 lines
508 B
C#

@namespace AntDesign.Internal
@inherits AntDomComponentBase
<ButtonGroup Class="ant-dropdown-button">
@if (Dropdown.ButtonsRender != null)
{
@Dropdown.ButtonsRender(LeftButton, RightButton)
}
else
{
@LeftButton
@RightButton
}
</ButtonGroup>
@code {
[CascadingParameter]
public Dropdown Dropdown { get; set; }
[Parameter]
public RenderFragment LeftButton { get; set; }
[Parameter]
public RenderFragment RightButton { get; set; }
}