import{j as t,d as u,B as p,c_ as e}from"./index-C1DmWO_C.js";import{N as c}from"./NoData-Y_e6mfNf.js";const l=({schema:n})=>{if(!n)return t.jsx(u,{py:"40px",children:t.jsx(c,{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(p,{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};
