// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace AntDesign
{
///
/// Component reference with open and close method
///
public interface IFeedbackRef
{
///
/// to get feedback inner component's event
///
internal IModalTemplate ModalTemplate { get; set; }
///
/// on Feedback open
///
public Func OnOpen { get; set; }
///
/// on Feedback close
///
public Func OnClose { get; set; }
///
/// open the component
///
///
public Task OpenAsync();
///
/// update the component
///
///
public Task UpdateConfigAsync();
///
/// just do close feedback component, and will not trigger OkAsync or OkCancel
///
///
public Task CloseAsync();
}
}