File "index.tsx"

Full Path: /home/vantageo/public_html/-20240930230508/wp-admin/cache/.wp-cli/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/base/components/cart-checkout/product-badge/index.tsx
File size: 505 bytes
MIME-type: text/x-java
Charset: utf-8

/**
 * External dependencies
 */
import classNames from 'classnames';
import type { ReactNode } from 'react';

/**
 * Internal dependencies
 */
import './style.scss';

interface ProductBadgeProps {
	children?: ReactNode;
	className?: string;
}
const ProductBadge = ( {
	children,
	className,
}: ProductBadgeProps ): JSX.Element => {
	return (
		<div
			className={ classNames(
				'wc-block-components-product-badge',
				className
			) }
		>
			{ children }
		</div>
	);
};

export default ProductBadge;