import type { HTMLAttributes } from 'react'
import React, { forwardRef } from 'react'
import { Link, type LinkElementType, type LinkProps } from '../..'
export interface SearchProductItemProps extends HTMLAttributes {
/**
* ID to find this component in testing tools (e.g.: cypress,
* testing-library, and jest).
*/
testId?: string
/**
* Props for the link from SearchProduct component.
*/
linkProps?: Partial>
}
const SearchProductItem = forwardRef(
function ProductItem(
{ testId = 'fs-search-product-item', linkProps, children, ...otherProps },
ref
) {
return (
{children}
)
}
)
export default SearchProductItem