Skip to main content
useEventHandler
@coinbase/cds-common@8.38.5
Creates event handlers for components based on the EventHandlerProvider configuration. It enables centralized event handling and analytics tracking by mapping component actions to configured handlers.
import { useEventHandler } from '@coinbase/cds-common/hooks/useEventHandler'

Usage

Loading...

Is this page useful?

Coinbase Design is an open-source, adaptable system of guidelines, components, and tools that aid the best practices of user interface design for crypto products.