import r from"prop-types";import{Tooltip as e,IconButton as o}from"@material-ui/core";import{Clear as i}from"@material-ui/icons";import{useStyles as t}from"../sharedStyles.js";import{jsx as a}from"react/jsx-runtime";function n(r){var n=r.handleCancel,c=t();return a(e,{title:"Cancel",children:a(o,{className:c.actionButton,onClick:n,children:a(i,{className:c.actionIcon})})})}n.propTypes={handleCancel:r.func.isRequired};export{n as CancelButton};
