Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32219237
D3342.1765185128.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
747 B
Referenced Files
None
Subscribers
None
D3342.1765185128.diff
View Options
diff --git a/web/sidebar/settings-switcher.react.js b/web/sidebar/settings-switcher.react.js
new file mode 100644
--- /dev/null
+++ b/web/sidebar/settings-switcher.react.js
@@ -0,0 +1,25 @@
+// @flow
+
+import * as React from 'react';
+
+import NavigationPanel from './navigation-panel.react';
+
+function SettingsSwitcher(): React.Node {
+ const accountSettingsNavigationItem = React.useMemo(
+ () => (
+ <p>
+ <a>My Account</a>
+ </p>
+ ),
+ [],
+ );
+
+ const navigationItems = React.useMemo(
+ () => [{ tab: 'settings', link: accountSettingsNavigationItem }],
+ [accountSettingsNavigationItem],
+ );
+
+ return <NavigationPanel navigationItems={navigationItems} />;
+}
+
+export default SettingsSwitcher;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 8, 9:12 AM (8 m, 43 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5847730
Default Alt Text
D3342.1765185128.diff (747 B)
Attached To
Mode
D3342: [web] Introduce settings switcher
Attached
Detach File
Event Timeline
Log In to Comment