Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3516010
D5499.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
436 B
Referenced Files
None
Subscribers
None
D5499.diff
View Options
diff --git a/native/staff/staff-context.js b/native/staff/staff-context.js
new file mode 100644
--- /dev/null
+++ b/native/staff/staff-context.js
@@ -0,0 +1,13 @@
+// @flow
+
+import * as React from 'react';
+
+export type StaffContextType = {
+ +staffUserHasBeenLoggedIn: boolean,
+};
+
+const StaffContext: React.Context<StaffContextType> = React.createContext({
+ staffUserHasBeenLoggedIn: false,
+});
+
+export { StaffContext };
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 11:40 AM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2694596
Default Alt Text
D5499.diff (436 B)
Attached To
Mode
D5499: [native] Introduce `StaffContext`
Attached
Detach File
Event Timeline
Log In to Comment