Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
base
/
components
/
cart-checkout
/
product-badge
:
index.tsx
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * 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;