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