import{u as r,b as o,o as s,a7 as i}from"./index-ktJf6c6X.js";import{d as n}from"./ArrowBack-LOmLSQMc.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};
