import{j as t,F as c,c5 as r,q as p,bU as o,c7 as u}from"./index-C6OVXshM.js";const l=({schema:e})=>{if(!e)return t.jsx(c,{py:"40px",children:t.jsx(r,{mainText:"No schema available"})});const s=JSON.parse(e),n=JSON.stringify(s.input_schema,null,2),a=JSON.stringify(s.output_schema,null,2);return t.jsxs(p,{flexDirection:"column",sx:{gap:"20px"},p:"20px",children:[n?t.jsx(o,{copyButton:!0,content:n,title:"Input schema",language:"json"}):t.jsx(u,{gray:!0,children:"No input schema."}),a?t.jsx(o,{copyButton:!0,content:a,title:"Output schema",language:"json"}):t.jsx(u,{gray:!0,children:"No output schema."})]})};export{l as M};
