import React from 'react';
import PropTypes from 'prop-types';
import Button from '../../../../components/ui/button';
export default function ConfirmationFooter({
onApprove,
onCancel,
approveText,
cancelText,
alerts,
}) {
return (
{alerts}
);
}
ConfirmationFooter.propTypes = {
alerts: PropTypes.node,
onApprove: PropTypes.func.isRequired,
onCancel: PropTypes.func.isRequired,
approveText: PropTypes.string.isRequired,
cancelText: PropTypes.string.isRequired,
};