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