1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. import * as React from 'react';
    
  11. import {isInternalFacebookBuild} from 'react-devtools-feature-flags';
    
  12. import {REACT_DEVTOOLS_WORKPLACE_URL} from 'react-devtools-shared/src/devtools/constants';
    
  13. import Icon from '../Icon';
    
  14. import styles from './shared.css';
    
  15. 
    
  16. export default function WorkplaceGroup(): React.Node {
    
  17.   if (!isInternalFacebookBuild) {
    
  18.     return null;
    
  19.   }
    
  20. 
    
  21.   return (
    
  22.     <div className={styles.WorkplaceGroupRow}>
    
  23.       <Icon className={styles.ReportIcon} type="facebook" />
    
  24.       <a
    
  25.         className={styles.ReportLink}
    
  26.         href={REACT_DEVTOOLS_WORKPLACE_URL}
    
  27.         rel="noopener noreferrer"
    
  28.         target="_blank"
    
  29.         title="Report bug">
    
  30.         Report this on Workplace
    
  31.       </a>
    
  32.       <div className={styles.FacebookOnly}>(Facebook employees only.)</div>
    
  33.     </div>
    
  34.   );
    
  35. }