options | UseClickableContainerOptions | — | Configuration object for the clickable container. Required. |
options.containerRef | Ref<HTMLElement | null> | — | Ref to the outer container element. Required. |
options.interactiveRef | Ref<HTMLElement | null> | — | Ref to the primary interactive element inside (link, button). If no onClick or href is provided, clicks are proxied to this element. |
options.onClick | (event: MouseEvent) => void | — | Click handler fired when the container surface (not a nested interactive element) is clicked. |
options.href | string | — | Navigation URL. When provided, clicking the container navigates to this URL. |
options.target | string | — | Link target (for example '_blank'). Used with href for navigation behavior. |
options.disabled | boolean | false | Whether the container is disabled. |