import{j as t,c as u,d as c,cu as e}from"./index-CK33qGU_.js";import{N as p}from"./NoData-CuLyR2Bg.js";const l=({schema:n})=>{if(!n)return t.jsx(u,{py:"40px",children:t.jsx(p,{mainText:"No schema available"})});const s=JSON.parse(n),a=JSON.stringify(s.input_schema,null,2),o=JSON.stringify(s.output_schema,null,2);return t.jsxs(c,{flexDirection:"column",sx:{gap:"20px"},p:"20px",children:[t.jsx(e,{copyButton:!0,content:a,title:"Input schema",language:"json"}),t.jsx(e,{copyButton:!0,content:o,title:"Output schema",language:"json"})]})};export{l as M};
