(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4485],{1967:function(e,r,n){Promise.resolve().then(n.bind(n,1070))},1070:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return V}});var s=n(4004),t=n(4978),i=n(65),a=n(9819),d=n(6739),c=n(5227),l=n(271),o=n(721),h=n(9524),x=n(988),p=n(4300),j=n(2433),Z=n(6551),m=n(8420),f=n(1753),u=n(9132),b=n(2161),v=n(8730),y=n(770),C=n(180),w=n(2190),_=n(4231),g=n(5536),k=n(1966),I=n(3375),P=n(3686),A=n(7098),N=n(9426),T=n(5891),$=n(5123),q=n(7354),E=n(1467),F=n(5527),R=n(1209),B=n(9513),D=n(959),L=n(2614),O=()=>{let{fragmentId:e,setFragmentId:r}=(0,t.useContext)(D.Z),n=e=>{r(e.target.hash)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.Z,{variant:"h3",fw:"semibold",children:"Table of Contents"}),(0,s.jsxs)(F.Z,{indent:!1,children:[(0,s.jsx)(R.Z,{onClick:n,children:(0,s.jsx)(x.Z,{variant:"transparent",href:"#card-api",active:/#card-api$/.test(e),"data-testid":"card_api",children:"Card API"})}),(0,s.jsx)(R.Z,{onClick:n,children:(0,s.jsx)(x.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,s.jsx)(R.Z,{onClick:n,children:(0,s.jsx)(x.Z,{variant:"transparent",href:"#card-props",active:/#card-props$/.test(e),"data-testid":"card_props",children:"Card Props"})}),(0,s.jsx)(B.Z,{}),(0,s.jsx)(R.Z,{onClick:n,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)(L.Z,{})]})},S=n(9362),z=n(176),G=n(1064);let M=(0,i.zo)(a.Z).withConfig({componentId:"sc-bb3df060-0"})(["width:100%;"]);function V(){let e=(0,g.Z)({query:{media:"(min-width: 1281px)"}}),r=(0,g.Z)({query:{media:"(max-width: 1280px)"}}),n=(0,g.Z)({query:{media:"(max-width: 768px)"}}),t=["card-api","import","card-props","system-props",...G.Z];return(0,s.jsx)(S.Z,{children:(0,s.jsxs)(d.Z,{children:[(0,s.jsx)(T.Z,{currentPage:"root/core/children"}),(0,s.jsxs)(c.Z,{display:"flex",children:[e&&(0,s.jsx)(l.Z,{children:(0,s.jsx)(o.Z,{fluid:!0,children:(0,s.jsx)(E.Z,{})})}),(0,s.jsxs)(M,{borderLeft:n?"none":r?"none":"dark",borderRight:n?"none":"dark",children:[(0,s.jsx)(c.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)(k.Z,{}),(0,s.jsx)(p.Z,{variant:"body2",children:"api"}),(0,s.jsx)(k.Z,{}),(0,s.jsx)(x.Z,{variant:"transparent",href:"/core/api/react-card",active:!0,width:"auto","data-testid":"breadcrumbs_react_card",children:"react-card"})]})})}),(0,s.jsxs)(o.Z,{fluid:!1,children:[(0,s.jsxs)(j.Z,{id:"card-api",children:[(0,s.jsx)(p.Z,{variant:"h1",children:"React Card API"}),(0,s.jsx)(p.Z,{variant:"body1",children:"API reference for the React Card component from Modj.js. Learn about how to use the Card component and all the valid props that can be supplied to this component."})]}),(0,s.jsxs)(j.Z,{id:"import",children:[(0,s.jsx)(p.Z,{variant:"h2",children:"Import "}),(0,s.jsx)(Z.Z,{variant:"filled",notched:!0,type:"script",fileName:(0,s.jsxs)(c.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,s.jsx)(I.Z,{height:"2em",width:"1.5em"}),(0,s.jsx)(p.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/Card",target:"_blank","data-testid":"import_github",children:(0,s.jsx)(P.Z,{})}),children:(0,s.jsx)(f.Z,{displayPosition:"left",children:(0,s.jsx)(p.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { Card } from '@modjs/core'"})]}),(0,s.jsxs)(j.Z,{id:"card-props",pb:"normal",mt:16,children:[(0,s.jsx)(p.Z,{variant:"h2",children:"Card Props"}),(0,s.jsx)(p.Z,{variant:"body1",children:"The following props are specific to the Card component and can be applied to this component."}),(0,s.jsxs)(u.Z,{children:[(0,s.jsx)(b.Z,{children:(0,s.jsxs)(v.Z,{children:[(0,s.jsx)(y.Z,{children:"Name"}),(0,s.jsx)(y.Z,{children:"Type"}),(0,s.jsx)(y.Z,{children:"Default"}),(0,s.jsx)(y.Z,{children:"Description"})]})}),(0,s.jsxs)(C.Z,{children:[(0,s.jsxs)(v.Z,{children:[(0,s.jsx)(w.Z,{children:"children"}),(0,s.jsx)(w.Z,{children:(0,s.jsx)(_.Z,{color:"success",children:"node"})}),(0,s.jsx)(w.Z,{children:"-"}),(0,s.jsx)(w.Z,{children:"The content of the component."})]}),(0,s.jsxs)(v.Z,{children:[(0,s.jsx)(w.Z,{children:"variant"}),(0,s.jsx)(w.Z,{children:(0,s.jsx)(_.Z,{color:"success",children:'"filled" "outlined" "transparent"'})}),(0,s.jsx)(w.Z,{children:(0,s.jsx)(_.Z,{color:"success",children:'"filled"'})}),(0,s.jsx)(w.Z,{children:"Applies different styles based on variant."})]}),(0,s.jsxs)(v.Z,{children:[(0,s.jsx)(w.Z,{children:"notched"}),(0,s.jsx)(w.Z,{children:(0,s.jsx)(_.Z,{color:"success",children:"boolean"})}),(0,s.jsxs)(w.Z,{children:[" ",(0,s.jsx)(_.Z,{color:"success",children:"false"})]}),(0,s.jsx)(w.Z,{children:"If true, the component will have a notched effect."})]})]})]})]}),(0,s.jsx)(q.Z,{}),(0,s.jsxs)(c.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,s.jsxs)(x.Z,{href:"/core/api/react-button",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_button_api",children:[(0,s.jsx)(A.Z,{}),"Button API"]}),(0,s.jsxs)(x.Z,{href:"/core/api/react-card-content",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_card_content_api",children:["CardContent API",(0,s.jsx)(N.Z,{})]})]})]}),(0,s.jsx)($.Z,{})]}),(0,s.jsx)(z.Z,{defaultFragmentId:"#card-api",sections:t,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=1967)}),_N_E=e.O()}]);