import React from 'react'; import PropTypes from 'prop-types'; import { Row, Col, Form, FormGroup, Button } from 'patternfly-react'; import { LinkContainer } from 'react-router-bootstrap'; import TooltipButton from 'react-bootstrap-tooltip-button'; import { noop } from 'foremanReact/common/helpers'; import Search from '../../../../components/Search/index'; import OptionTooltip from '../../../../move_to_pf/OptionTooltip'; const SubscriptionsToolbar = ({ disableManifestActions, disableManifestReason, disableDeleteButton, disableDeleteReason, disableAddButton, getAutoCompleteParams, updateSearchQuery, onDeleteButtonClick, onSearch, onManageManifestButtonClick, onExportCsvButtonClick, tableColumns, toolTipOnChange, toolTipOnclose, }) => (
); SubscriptionsToolbar.propTypes = { ...Search.propTypes, tableColumns: OptionTooltip.propTypes.options, disableManifestActions: PropTypes.bool, disableManifestReason: PropTypes.string, disableDeleteButton: PropTypes.bool, disableDeleteReason: PropTypes.string, disableAddButton: PropTypes.bool, onDeleteButtonClick: PropTypes.func, onManageManifestButtonClick: PropTypes.func, onExportCsvButtonClick: PropTypes.func, toolTipOnChange: PropTypes.func, toolTipOnclose: PropTypes.func, }; SubscriptionsToolbar.defaultProps = { ...Search.defaultProps, tableColumns: [], disableManifestActions: false, disableManifestReason: '', disableDeleteButton: false, disableDeleteReason: '', disableAddButton: false, onDeleteButtonClick: noop, onManageManifestButtonClick: noop, onExportCsvButtonClick: noop, toolTipOnChange: noop, toolTipOnclose: noop, }; export default SubscriptionsToolbar;