'use client';
import{jsx as m}from"react/jsx-runtime";import{createStyle as s,createClass as t}from"@gem-sdk/system";import{getImageWrapperClass as o}from"../common/classes.js";import{getImageWrapperStyle as r}from"../common/styles.js";let Img=({layout:e,borderRadius:l,aspectRatio:a,image:c,alt:p,style:f,enableBorder:i,...g})=>{let u=s(r({borderRadius:l,aspectRatio:a,layout:e},f)),d=t(o({enableBorder:i}));return m("img",{...g,src:c?.src,alt:p,className:d,style:u})};Img.defaultProps={layout:{desktop:"cover"}};export{Img as default};
