import{j as r}from"./iframe-p4aYZyoq.js";import{d as i}from"./index-BUaT88Mv.js";import{c as m}from"./index-Dx18ixSn.js";import"./preload-helper-BDBacUwf.js";const a=({lightMode:e,children:d,className:l,...n})=>r.jsx("pre",{className:m("codeblock",{"codeblock-light":e},l),...n,children:r.jsx("code",{children:d})});try{codeblock.displayName="codeblock",codeblock.__docgenInfo={description:"",displayName:"codeblock",props:{lightMode:{defaultValue:null,description:"Activate light mode or defaults to dark mode",name:"lightMode",required:!1,type:{name:"boolean"}}}}}catch{}const p=new i.LoremIpsum({sentencesPerParagraph:{max:1,min:1},wordsPerSentence:{max:12,min:8}}).generateParagraphs(10),x={component:a,title:"Layout/CodeBlock",args:{lightMode:!1},render:({lightMode:e})=>r.jsx(a,{lightMode:e,children:p})},o={};var t,c,s;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(s=(c=o.parameters)==null?void 0:c.docs)==null?void 0:s.source}}};const _=["CodeBlock"];export{o as CodeBlock,_ as __namedExportsOrder,x as default};
