import PropTypes from "prop-types";
import {Card, Modal, Popconfirm, Tooltip} from "antd";
import {DeleteOutlined, EditOutlined, PlusOutlined} from "@ant-design/icons";
import {SetPropType} from "../../types/setPropType.jsx";
const SetListCard = ({set, handleEditSet, handleDeleteSet, handleAppendSet}) => {
const deleteSet = () => {
handleDeleteSet(set.id);
};
const appendSet = () => {
handleAppendSet(set);
};
const actions = [
,
{
handleEditSet(set);
}}
/>
,
,
];
return (
<>
>
);
};
SetListCard.propTypes = {
set: SetPropType.isRequired,
handleEditSet: PropTypes.func.isRequired,
handleAppendSet: PropTypes.func.isRequired,
handleDeleteSet: PropTypes.func.isRequired,
};
export default SetListCard;