Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32159072
root-context.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
489 B
Referenced Files
None
Subscribers
None
root-context.js
View Options
// @flow
import
PropTypes
from
'prop-types'
;
import
*
as
React
from
'react'
;
export
type
RootContextType
=
{
|
detectUnsupervisedBackground
?:
?
(
alreadyClosed
:
boolean
)
=>
boolean
,
setNavStateInitialized
:
()
=>
void
,
|
};
const
RootContext
=
React
.
createContext
<?
RootContextType
>
(
null
);
const
rootContextPropType
=
PropTypes
.
shape
({
detectUnsupervisedBackground
:
PropTypes
.
func
,
setNavStateInitialized
:
PropTypes
.
func
.
isRequired
,
});
export
{
RootContext
,
rootContextPropType
};
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Sun, Dec 7, 4:25 PM (18 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5823081
Default Alt Text
root-context.js (489 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment