import{u as r,b as o,o as s,a3 as i}from"./index-DlNZgIG9.js";import{d as n}from"./ArrowBack-Fv1ENcoB.js";const f=({label:e="Back",onClick:a})=>{const t=r();return o(i,{title:e,children:o(s,{onClick:()=>{a?a():t(-1)},sx:{border:"1px solid #e0e0e0",width:36,height:36,"&:hover":{backgroundColor:"#f5f5f5"}},children:o(n,{fontSize:"small",color:"primary"})})})};export{f as B};
