import{j as s,dc as t}from"./react-vendor-xYZnmIII.js";import{g as i,a7 as r,a8 as e,B as p,a9 as n,x as c}from"./ui-components-CQM92IK3.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";const j=({value:o})=>{const a=()=>{navigator.clipboard.writeText(o),c.success("API copied to clipboard")};return s.jsxs(i,{className:"p-0 pl-2",children:[o,s.jsxs(r,{children:[s.jsx(e,{asChild:!0,children:s.jsx(p,{className:"h-6 w-6",size:"icon",variant:"secondary",onClick:a,children:s.jsx(t,{})})}),s.jsx(n,{children:s.jsx("p",{children:"Copy to paste in the dynamic wrapper"})})]})]})};export{j as default};
