import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{$ as r,n as i}from"./axios-v6FV69Ne.js";import{t as a}from"./button-C7b7AmGo.js";import{t as o}from"./DiscardChangesButton-gGlMN2W5.js";t();var s=e(i()),c=n(),l=({onConfirm:e,modified:t,disabled:n,placement:i=`topRight`})=>(0,c.jsx)(o,{onConfirm:e,modified:t,placement:i,children:(0,c.jsx)(a,{type:`link`,className:`close-button`,disabled:n,children:(0,c.jsx)(r,{})})});l.propTypes={onConfirm:s.default.func.isRequired,modified:s.default.bool,disabled:s.default.bool,placement:s.default.string};export{l as t};