import type { HTMLAttributes } from 'react'
import React, { forwardRef } from 'react'
export interface ProductCardImageProps extends HTMLAttributes {
/**
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
*/
testId?: string
/**
* Specifies the ProductCard image's aspect ratio.
*/
aspectRatio?: number
}
const ProductCardImage = forwardRef(
function ProductCardImage(
{
testId = 'fs-product-card-image',
aspectRatio = 1,
children,
...otherProps
},
ref
) {
return (
{children}
)
}
)
export default ProductCardImage