UNPKG
@react-sigma/core
Version:
latest (5.0.6)
5.0.6
5.0.4
5.0.2
5.0.1
5.0.0
4.0.3
4.0.2
4.0.1
4.0.0
3.4.2
3.4.1
3.4.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.0.2
2.0.1
2.0.0
React Sigma
sim51.github.io/react-sigma
sim51/react-sigma
@react-sigma/core
/
lib
/
hooks
/
useFullScreen.d.ts
13 lines
(12 loc)
•
285 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** * React hook that helps you to set graph in fullmode. * * ```typescript * const {toggle, isFullScreen} = useFullscreen(); *``` *
@category
Hook */
export
declare
function
useFullScreen
(
container?: HTMLElement |
null
):
{ toggle: () =>
void
; isFullScreen:
boolean
; };