import { __ } from '@wordpress/i18n' import { useWording } from '../../../hooks/useWording' import cartReduceIcon from '../../../../../public/images/icon-cart-reduce.svg' import cartIncreaseIcon from '../../../../../public/images/icon-cart-increase.svg' import { IWebba5CounterProps } from './types' export const Webba5Counter = ({ label, value, onDecrease, onIncrease, }: IWebba5CounterProps) => { const wording = useWording() return (
{label}
{value}
) }