mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-07-26 18:36:23 +09:00
Final Cleanup
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import React from "react";
|
||||
import { Button, Popconfirm } from "antd";
|
||||
import { DeleteOutlined } from "@ant-design/icons";
|
||||
import { TooltipPlacement } from "antd/es/tooltip";
|
||||
|
||||
export default function DeletedConfirm(props: { onConfirm: () => void, placement?: TooltipPlacement }) {
|
||||
return <Popconfirm
|
||||
title="Delete?"
|
||||
okText="Delete"
|
||||
okButtonProps={{ danger: true }}
|
||||
onConfirm={props.onConfirm}
|
||||
placement={props.placement}
|
||||
>
|
||||
<Button danger icon={<DeleteOutlined />} />
|
||||
</Popconfirm>
|
||||
}
|
||||
Reference in New Issue
Block a user