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