PageTree.jsx 581 B

1234567891011121314151617181920212223242526272829
  1. import React from 'react';
  2. import PropTypes from 'prop-types';
  3. import { withTranslation } from 'react-i18next';
  4. class PageTree extends React.Component {
  5. static propTypes = {
  6. t: PropTypes.func.isRequired, // i18next
  7. };
  8. render() {
  9. const { t } = this.props;
  10. return (
  11. <>
  12. <div className="grw-sidebar-content-header p-3 d-flex">
  13. <h3 className="mb-0">{t('Page Tree')}</h3>
  14. </div>
  15. <div className="grw-sidebar-content-body p-3">
  16. TBD
  17. </div>
  18. </>
  19. );
  20. }
  21. }
  22. export default withTranslation()(PageTree);