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