Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3295656
D3342.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
725 B
Referenced Files
None
Subscribers
None
D3342.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,26 @@
+// @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>
+ ),
+ [],
+ );
+
+ return (
+ <NavigationPanel.Container>
+ <NavigationPanel.Item tab="settings">
+ {accountSettingsNavigationItem}
+ </NavigationPanel.Item>
+ </NavigationPanel.Container>
+ );
+}
+
+export default SettingsSwitcher;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 10:33 PM (22 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2532132
Default Alt Text
D3342.diff (725 B)
Attached To
Mode
D3342: [web] Introduce settings switcher
Attached
Detach File
Event Timeline
Log In to Comment