import React, { forwardRef } from 'react' import type { HTMLAttributes } from 'react' export interface ProductCardProps extends HTMLAttributes { /** * Sets a border to the component. */ bordered?: boolean /** * Sets the component's size. */ variant?: 'wide' | 'default' /** * Enables a outOfStock status. */ outOfStock?: boolean /** * ID to find this component in testing tools (e.g.: cypress, * testing-library, and jest). */ testId?: string } const ProductCard = forwardRef( function ProductCard( { testId = 'fs-product-card', variant = 'default', bordered = false, outOfStock, children, ...otherProps }, ref ) { return (
{children}
) } ) export default ProductCard