UNPKG
@curi/react-dom
Version:
latest (2.0.4)
next (2.0.0-beta.17)
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-beta.17
2.0.0-beta.16
2.0.0-beta.15
2.0.0-beta.14
2.0.0-beta.13
2.0.0-beta.12
2.0.0-beta.11
2.0.0-beta.10
2.0.0-beta.9
2.0.0-beta.8
2.0.0-beta.7
2.0.0-beta.6
2.0.0-beta.5
2.0.0-beta.4
2.0.0-beta.3
2.0.0-beta.2
2.0.0-beta.1
2.0.0-beta.0
2.0.0-alpha.2
2.0.0-alpha.1
2.0.0-alpha.0
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
1.0.0-beta.0
React DOM components to use with Curi
pshrmn/curi
@curi/react-dom
/
types
/
hooks
/
useNavigationFocus.d.ts
7 lines
(6 loc)
•
245 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
React
from
"react"
;
export
interface
FocusHookProps
{
preventScroll
?:
boolean
;
preserve
?:
boolean
; }
export
default
function
useNavigationFocus
(
ref
:
React
.
MutableRefObject
<
HTMLElement
|
null
>,
props
?:
FocusHookProps
):
void
;