(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1725],{7124:function(e,r,a){Promise.resolve().then(a.bind(a,7066))},7066:function(e,r,a){"use strict";a.r(r),a.d(r,{default:function(){return H}});var i=a(4004),t=a(4978),d=a(65),n=a(9819),s=a(6739),c=a(5227),o=a(271),l=a(721),h=a(9524),p=a(988),x=a(4300),j=a(2433),Z=a(6551),m=a(8420),f=a(1753),u=a(9132),v=a(2161),b=a(8730),_=a(770),C=a(180),y=a(2190),g=a(4231),w=a(5536),k=a(1966),I=a(3375),M=a(3686),P=a(7098),A=a(9426),N=a(5891),T=a(5123),$=a(7354),q=a(1467),E=a(5527),F=a(1209),R=a(9513),D=a(959),L=a(2614),O=()=>{let{fragmentId:e,setFragmentId:r}=(0,t.useContext)(D.Z),a=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)(E.Z,{indent:!1,children:[(0,i.jsx)(F.Z,{onClick:a,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#card-media-api",active:/#card-media-api$/.test(e),"data-testid":"card_media_api",children:"CardMedia API"})}),(0,i.jsx)(F.Z,{onClick:a,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,i.jsx)(F.Z,{onClick:a,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#card-media-props",active:/#card-media-props$/.test(e),"data-testid":"card_media_props",children:"CardMedia Props"})}),(0,i.jsx)(R.Z,{}),(0,i.jsx)(F.Z,{onClick:a,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)(L.Z,{})]})},S=a(9362),z=a(176),B=a(1064);let G=(0,d.zo)(n.Z).withConfig({componentId:"sc-8f74b7d8-0"})(["width:100%;"]);function H(){let e=(0,w.Z)({query:{media:"(min-width: 1281px)"}}),r=(0,w.Z)({query:{media:"(max-width: 1280px)"}}),a=(0,w.Z)({query:{media:"(max-width: 768px)"}}),t=["card-media-api","import","card-media-props","system-props",...B.Z];return(0,i.jsx)(S.Z,{children:(0,i.jsxs)(s.Z,{children:[(0,i.jsx)(N.Z,{currentPage:"root/core/children"}),(0,i.jsxs)(c.Z,{display:"flex",children:[e&&(0,i.jsx)(o.Z,{children:(0,i.jsx)(l.Z,{fluid:!0,children:(0,i.jsx)(q.Z,{})})}),(0,i.jsxs)(G,{borderLeft:a?"none":r?"none":"dark",borderRight:a?"none":"dark",children:[(0,i.jsx)(c.Z,{borderBottom:"dark",children:(0,i.jsx)(l.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-card-media",active:!0,width:"auto","data-testid":"breadcrumbs_react_card_media",children:"react-card-media"})]})})}),(0,i.jsxs)(l.Z,{fluid:!1,children:[(0,i.jsxs)(j.Z,{id:"card-media-api",children:[(0,i.jsx)(x.Z,{variant:"h1",children:"React CardMedia API"}),(0,i.jsx)(x.Z,{variant:"body1",children:"API reference for the React CardMedia component from Modj.js. Learn about how to use the CardMedia 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)(c.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/CardMedia",target:"_blank","data-testid":"import_github",children:(0,i.jsx)(M.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 { CardMedia } from '@modjs/core'"})]}),(0,i.jsxs)(j.Z,{id:"card-media-props",pb:"normal",mt:16,children:[(0,i.jsx)(x.Z,{variant:"h2",children:"CardMedia Props"}),(0,i.jsx)(x.Z,{variant:"body1",children:"The following props are specific to the CardMedia component and can be applied to this component."}),(0,i.jsxs)(u.Z,{children:[(0,i.jsx)(v.Z,{children:(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(_.Z,{children:"Name"}),(0,i.jsx)(_.Z,{children:"Type"}),(0,i.jsx)(_.Z,{children:"Default"}),(0,i.jsx)(_.Z,{children:"Description"})]})}),(0,i.jsx)(C.Z,{children:(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(y.Z,{children:"children"}),(0,i.jsx)(y.Z,{children:(0,i.jsx)(g.Z,{color:"success",children:"node"})}),(0,i.jsx)(y.Z,{children:"-"}),(0,i.jsx)(y.Z,{children:"The content of the component."})]})})]})]}),(0,i.jsx)($.Z,{}),(0,i.jsxs)(c.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,i.jsxs)(p.Z,{href:"/core/api/react-card-header",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_card_header_api",children:[(0,i.jsx)(P.Z,{}),"CardHeader API"]}),(0,i.jsxs)(p.Z,{href:"/core/api/react-card-meta",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_card_meta_api",children:["CardMeta API",(0,i.jsx)(A.Z,{})]})]})]}),(0,i.jsx)(T.Z,{})]}),(0,i.jsx)(z.Z,{defaultFragmentId:"#card-media-api",sections:t,children:(0,i.jsx)(O,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=7124)}),_N_E=e.O()}]);