Source

frontend/src/components/pages/RobotModeler/ModelerSidebar/PropertiesPanel/PropertiesPanelSections/PPIdSection/PPIdSection.jsx

  1. import React from 'react';
  2. import { Space, Typography } from 'antd';
  3. const { Text } = Typography;
  4. /**
  5. * @description Renders the task-dropdown based on the passed list of tasks.
  6. * @category Frontend
  7. * @component
  8. */
  9. const PPIdSection = (element) => {
  10. const { element: selectedElement } = element;
  11. const { id } = selectedElement;
  12. return (
  13. <Space direction='horizontal' style={{ width: '100%' }}>
  14. <Text className='label-on-dark-background'>ID: </Text>
  15. <Text className='label-on-dark-background'>{id}</Text>
  16. </Space>
  17. );
  18. };
  19. export default PPIdSection;