Add Marketing Bar for Flipper Support Form

Summary: This diff shows marketing bar for support feature when someone inspects the litho view. Once it is inspected it will shown for the rest of the time till the plugin is unmounted.

Reviewed By: jknoxville

Differential Revision: D18086347

fbshipit-source-id: cb906614f571e8ece2293b028f809d1aa5c211e5
This commit is contained in:
Pritesh Nandgaonkar
2019-10-23 10:38:36 -07:00
committed by Facebook Github Bot
parent 2cd6be2d0f
commit ef43878286
5 changed files with 54 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ import {ReactNode, Component} from 'react';
import BaseDevice from './devices/BaseDevice';
import {serialize, deserialize} from './utils/serialization';
import {Idler} from './utils/Idler';
import {StaticView} from './reducers/connections';
type Parameters = any;
// This function is intended to be called from outside of the plugin.
@@ -60,6 +61,7 @@ export type Props<T> = {
selectPlugin: (pluginID: string, deepLinkPayload: string | null) => boolean;
isArchivedDevice: boolean;
selectedApp: string | null;
setStaticView: (payload: StaticView) => void;
};
export type BaseAction = {