import type { ReactNode } from 'react' import React, { forwardRef } from 'react' export interface BadgeProps { /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string children?: ReactNode } const Badge = forwardRef(function Badge( { testId = 'store-badge', children }: BadgeProps, ref ) { return (
{children}
) }) export default Badge