import{j as t,S as r,h as o}from"./vendor-ClLR6ncd.js";import{E as x}from"./Messages-BRmQDxrZ.js";import{o as h,G as m}from"./index-OtVJl4GC.js";function p({title:e}){return t.jsx(o,{variant:"h4",children:e})}function f({title:e,Title:a,SuccessMessage:n,error:i,children:s}){return t.jsxs(r,{sx:{...m(),width:1,minHeight:"100%",height:"max-content",textAlign:"left"},spacing:h(),children:[a||t.jsx(p,{title:e}),n,t.jsx(x,{error:i}),s]})}export{p as D,f as P};
