app inspect button

Reviewed By: elboman

Differential Revision: D47438914

fbshipit-source-id: 297fba476e348dee89fa723db5303f0342b331c2
This commit is contained in:
Anton Kastritskiy
2023-07-18 03:52:34 -07:00
committed by Facebook GitHub Bot
parent 1463620c28
commit af73e5a2b4
3 changed files with 19 additions and 29 deletions

View File

@@ -33,6 +33,7 @@ import {
LayoutOutlined,
LoginOutlined,
MedicineBoxOutlined,
MobileOutlined,
QuestionCircleOutlined,
RocketOutlined,
VideoCameraOutlined,
@@ -70,6 +71,15 @@ export const Navbar = withTrackingScope(function Navbar({
}}>
<Layout.Horizontal style={{gap: 4}}>
<LeftSidebarToggleButton />
<NavbarButton
icon={MobileOutlined}
label="App Inspect"
toggled={toplevelSelection === 'appinspect'}
onClick={() => {
setToplevelSelection('appinspect');
}}
/>
<button>device picker</button>
<NavbarButton label="Screenshot" icon={CameraOutlined} />
<NavbarButton label="Record" icon={VideoCameraOutlined} />