import React from 'react'; import PropTypes from 'prop-types'; import { Icon, Button, } from 'patternfly-react'; 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;