// packages/components/src/card/card-media/component.tsx
import { contextConnect } from "../../context/index.js";
import { View } from "../../view/index.js";
import { useCardMedia } from "./hook.js";
import { jsx as _jsx } from "react/jsx-runtime";
function UnconnectedCardMedia(props, forwardedRef) {
  const cardMediaProps = useCardMedia(props);
  return /* @__PURE__ */ _jsx(View, {
    ...cardMediaProps,
    ref: forwardedRef
  });
}
var CardMedia = contextConnect(UnconnectedCardMedia, "CardMedia");
var component_default = CardMedia;
export {
  CardMedia,
  component_default as default
};
//# sourceMappingURL=component.js.map
