/**
 * 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>
  );
}

/**
 * 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 />
        </Tab>
      </Tabs>
    </Modal>
  );
}

--- 
+++ 
@@ -21,7 +21,7 @@
           <PluginDebugger />
         </Tab>
         <Tab tab="Install Plugins">
-          <PluginInstaller />
+          <PluginInstaller autoHeight />
         </Tab>
       </Tabs>
     </Modal>
Set required prop for PluginInstaller

Summary: TSC is raising this for a missing property.

Reviewed By: timur-valiev

Differential Revision: D29933795

fbshipit-source-id: 2acb3ea3b504f1bce1fb4bd0f7e4b52fd49e00b0
