/**
 *  
 * Component for antd pop confirm
 */
import { Popconfirm as AntdPopconfirm } from "antd";
export default function Popconfirm({ title, onConfirm, onCancel, okText, cancelText, children }) {
          return (
                    <AntdPopconfirm
                              title={title}
                              onConfirm={onConfirm}
                              onCancel={onCancel}
                              okText={okText}
                              cancelText={cancelText}>
                              {children}

                    </AntdPopconfirm>
          )
}