import React from 'react'; import PropTypes from 'prop-types'; import { Icon, Button, } from 'patternfly-react'; import { translate as __ } from 'foremanReact/common/I18n'; const DeleteTableEntry = ({ hidden, disabled, onDeleteTableEntry, additionalData, }) =>{ if (hidden) { return null; } return ( ); }; DeleteTableEntry.propTypes = { hidden: PropTypes.bool.isRequired, disabled: PropTypes.bool.isRequired, onDeleteTableEntry: PropTypes.func.isRequired, additionalData: PropTypes.object.isRequired, }; export default DeleteTableEntry;