(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1398],{6603:function(e,r,n){Promise.resolve().then(n.bind(n,8987))},8987:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return V}});var t=n(4004),s=n(4978),i=n(65),c=n(9819),o=n(6739),a=n(5227),d=n(271),l=n(721),p=n(9524),h=n(988),x=n(4300),j=n(2433),Z=n(6551),m=n(8420),y=n(1753),f=n(9132),u=n(2161),v=n(8730),b=n(770),C=n(180),_=n(2190),g=n(4231),w=n(5536),k=n(1966),I=n(3375),P=n(3686),A=n(7098),N=n(9426),T=n(5891),R=n(5123),$=n(7354),q=n(1467),E=n(5527),F=n(1209),D=n(9513),L=n(959),O=n(2614),S=()=>{let{fragmentId:e,setFragmentId:r}=(0,s.useContext)(L.Z),n=e=>{r(e.target.hash)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.Z,{variant:"h3",fw:"semibold",children:"Table of Contents"}),(0,t.jsxs)(E.Z,{indent:!1,children:[(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(h.Z,{variant:"transparent",href:"#copy-api",active:/#copy-api$/.test(e),"data-testid":"copy_api",children:"Copy API"})}),(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(h.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(h.Z,{variant:"transparent",href:"#copy-props",active:/#copy-props$/.test(e),"data-testid":"copy_props",children:"Copy Props"})}),(0,t.jsx)(D.Z,{}),(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(h.Z,{variant:"transparent",fw:"bold",href:"#system-props",active:/#system-props$/.test(e),"data-testid":"system_props",children:"System Props"})})]}),(0,t.jsx)(O.Z,{})]})},z=n(9362),B=n(176),G=n(1064);let M=(0,i.zo)(c.Z).withConfig({componentId:"sc-915634b8-0"})(["width:100%;"]);function V(){let e=(0,w.Z)({query:{media:"(min-width: 1281px)"}}),r=(0,w.Z)({query:{media:"(max-width: 1280px)"}}),n=(0,w.Z)({query:{media:"(max-width: 768px)"}}),s=["copy-api","import","copy-props","system-props",...G.Z];return(0,t.jsx)(z.Z,{children:(0,t.jsxs)(o.Z,{children:[(0,t.jsx)(T.Z,{currentPage:"root/core/children"}),(0,t.jsxs)(a.Z,{display:"flex",children:[e&&(0,t.jsx)(d.Z,{children:(0,t.jsx)(l.Z,{fluid:!0,children:(0,t.jsx)(q.Z,{})})}),(0,t.jsxs)(M,{borderLeft:n?"none":r?"none":"dark",borderRight:n?"none":"dark",children:[(0,t.jsx)(a.Z,{borderBottom:"dark",children:(0,t.jsx)(l.Z,{children:(0,t.jsxs)(p.Z,{children:[(0,t.jsx)(h.Z,{variant:"transparent",href:"/core",width:"auto","data-testid":"breadcrumbs_core",children:"core"}),(0,t.jsx)(k.Z,{}),(0,t.jsx)(x.Z,{variant:"body2",children:"api"}),(0,t.jsx)(k.Z,{}),(0,t.jsx)(h.Z,{variant:"transparent",href:"/core/api/react-copy",active:!0,width:"auto","data-testid":"breadcrumbs_react_copy",children:"react-copy"})]})})}),(0,t.jsxs)(l.Z,{fluid:!1,children:[(0,t.jsxs)(j.Z,{id:"copy-api",children:[(0,t.jsx)(x.Z,{variant:"h1",children:"React Copy API"}),(0,t.jsx)(x.Z,{variant:"body1",children:"API reference for the React Copy component from Modj.js. Learn about how to use the Copy component and all the valid props that can be supplied to this component."})]}),(0,t.jsxs)(j.Z,{id:"import",children:[(0,t.jsx)(x.Z,{variant:"h2",children:"Import "}),(0,t.jsx)(Z.Z,{variant:"filled",notched:!0,type:"script",fileName:(0,t.jsxs)(a.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,t.jsx)(I.Z,{height:"2em",width:"1.5em"}),(0,t.jsx)(x.Z,{variant:"small",fs:1,children:"App.jsx"})]}),headerContent:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(m.Z,{arrow:!0,el:(0,t.jsx)(h.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/Copy",target:"_blank","data-testid":"import_github",children:(0,t.jsx)(P.Z,{})}),children:(0,t.jsx)(y.Z,{displayPosition:"left",children:(0,t.jsx)(x.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { Copy } from '@modjs/core'"})]}),(0,t.jsxs)(j.Z,{id:"copy-props",pb:"normal",mt:16,children:[(0,t.jsx)(x.Z,{variant:"h2",children:"Copy Props"}),(0,t.jsx)(x.Z,{variant:"body1",children:"The following props are specific to the Copy component and can be applied to this component."}),(0,t.jsxs)(f.Z,{children:[(0,t.jsx)(u.Z,{children:(0,t.jsxs)(v.Z,{children:[(0,t.jsx)(b.Z,{children:"Name"}),(0,t.jsx)(b.Z,{children:"Type"}),(0,t.jsx)(b.Z,{children:"Default"}),(0,t.jsx)(b.Z,{children:"Description"})]})}),(0,t.jsxs)(C.Z,{children:[(0,t.jsxs)(v.Z,{children:[(0,t.jsx)(_.Z,{children:"children"}),(0,t.jsx)(_.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"node"})}),(0,t.jsx)(_.Z,{children:"-"}),(0,t.jsx)(_.Z,{children:"The content of the component."})]}),(0,t.jsxs)(v.Z,{children:[(0,t.jsx)(_.Z,{children:"textNode"}),(0,t.jsx)(_.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"node"})}),(0,t.jsx)(_.Z,{children:"-"}),(0,t.jsx)(_.Z,{children:"The text node to copy."})]})]})]})]}),(0,t.jsx)($.Z,{}),(0,t.jsxs)(a.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,t.jsxs)(h.Z,{href:"/core/api/react-container",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_container_api",children:[(0,t.jsx)(A.Z,{}),"Container API"]}),(0,t.jsxs)(h.Z,{href:"/core/api/react-copy-response",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_copy_response_api",children:["CopyResponse API",(0,t.jsx)(N.Z,{})]})]})]}),(0,t.jsx)(R.Z,{})]}),(0,t.jsx)(B.Z,{defaultFragmentId:"#copy-api",sections:s,children:(0,t.jsx)(S,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=6603)}),_N_E=e.O()}]);