// Copyright © Selmo Technology GmbH. All Rights Reserved

using Microsoft.AspNetCore.Components;

namespace SelmoStudio.Hmi.Server.Shared.Components.BaseComponents
{
    public partial class ButtonComponent : ButtonBaseComponent
    {
        [Parameter]
        public EventCallback Click { get; set; }

        protected override async Task OnClick()
        {
            await Click.InvokeAsync();
        }
    }
}