Counter Web Component - React