MCPcopy Index your code
hub / github.com/TypeCellOS/BlockNote / UseFocusWithinOptions

Interface UseFocusWithinOptions

packages/react/src/hooks/useFocusWithin.ts:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { useEffect, useRef, useState } from "react";
3
4export interface UseFocusWithinOptions {
5 onFocus?: (event: FocusEvent) => void;
6 onBlur?: (event: FocusEvent) => void;
7}
8
9function containsRelatedTarget(event: FocusEvent) {
10 if (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected