diff --git a/desktop/app/src/MenuBar.tsx b/desktop/app/src/MenuBar.tsx index 24bc7a1bd..28e9093fd 100644 --- a/desktop/app/src/MenuBar.tsx +++ b/desktop/app/src/MenuBar.tsx @@ -27,6 +27,7 @@ import {notNull} from './utils/typeUtils'; import constants from './fb-stubs/constants'; import {Logger} from './fb-interfaces/Logger'; import {NormalizedMenuEntry, buildInMenuEntries} from 'flipper-plugin'; +import {StyleGuide} from './sandy-chrome/StyleGuide'; export type DefaultKeyboardAction = keyof typeof buildInMenuEntries; export type TopLevelMenu = 'Edit' | 'View' | 'Window' | 'Help'; @@ -339,6 +340,12 @@ function getTemplate( store.dispatch(setActiveSheet(ACTIVE_SHEET_PLUGINS)); }, }, + { + label: 'Flipper style guide', + click() { + store.dispatch(setStaticView(StyleGuide)); + }, + }, { label: 'Toggle Developer Tools', accelerator: (function () { diff --git a/desktop/app/src/sandy-chrome/AppInspect.tsx b/desktop/app/src/sandy-chrome/AppInspect.tsx index 50e4d7a95..6e30f2cce 100644 --- a/desktop/app/src/sandy-chrome/AppInspect.tsx +++ b/desktop/app/src/sandy-chrome/AppInspect.tsx @@ -37,12 +37,10 @@ export function AppInspect() { {appTooltip}}> App Inspect - + } defaultValue="mysite" /> - +