Add support manager to display an error screen or litho form
Summary: This diff shows the error screen when one of the following condition is met: - Selected device is not android - No clients are active for selected device - At least there is one client which supports inspector plugin. For this I have added a SupportRequestManager class which loads the error screen or the litho form based on the above condition. The UI is super basic. Will improve the design based on your feedback in the coming diffs. Reviewed By: jknoxville Differential Revision: D17790596 fbshipit-source-id: 2afc917c93c6e7321399633c5bf9d27a703742ee
This commit is contained in:
committed by
Facebook Github Bot
parent
e5ddb5d709
commit
f924b0ae1b
18
src/fb-stubs/SupportRequestFormManager.tsx
Normal file
18
src/fb-stubs/SupportRequestFormManager.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Copyright 2018-present Facebook.
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* @format
|
||||
*/
|
||||
|
||||
import Text from '../ui/components/FlexRow';
|
||||
import React, {PureComponent} from 'react';
|
||||
|
||||
export default class SupportRequestFormManager extends PureComponent<
|
||||
void,
|
||||
void
|
||||
> {
|
||||
render() {
|
||||
return <Text> Implement your own Bug creator </Text>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user