Summary: TSC is raising this for a missing property. Reviewed By: timur-valiev Differential Revision: D29933795 fbshipit-source-id: 2acb3ea3b504f1bce1fb4bd0f7e4b52fd49e00b0
30 lines
751 B
TypeScript
30 lines
751 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
import React from 'react';
|
|
import {Tab, Tabs} from 'flipper-plugin';
|
|
import PluginDebugger from './PluginDebugger';
|
|
import PluginInstaller from './PluginInstaller';
|
|
import {Modal} from 'antd';
|
|
|
|
export default function (props: {onHide: () => any}) {
|
|
return (
|
|
<Modal width={800} visible onCancel={props.onHide} footer={null}>
|
|
<Tabs>
|
|
<Tab tab="Plugin Status">
|
|
<PluginDebugger />
|
|
</Tab>
|
|
<Tab tab="Install Plugins">
|
|
<PluginInstaller autoHeight />
|
|
</Tab>
|
|
</Tabs>
|
|
</Modal>
|
|
);
|
|
}
|