Skip to main content
useEventHandler
@coinbase/cds-common@8.34.1
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
import { useEventHandler } from '@coinbase/cds-common/hooks/useEventHandler'
SourceView source code
View as Markdown

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.