A React Hook that returns a boolean value indicating whether the component is focused or any of its children are focused.
See API for more details.
Click links below to view source on GitHub.
ElementTarget
is a union type that represents various kinds of elements that can be targeted.
See ElementTarget or ElementTarget Types for more details.
A boolean
value indicating whether it's focused within the target.