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