mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
d16144ece0
* refactor: button * refactor: avatar * refactor: alert * fix: input group compact
25 lines
508 B
C#
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; }
|
|
} |