Page MenuHomePhabricator

D3342.diff
No OneTemporary

D3342.diff

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

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)

Event Timeline