import React from 'react'; import PropTypes from 'prop-types' import { Grid } from 'patternfly-react'; import SearchBar from 'foremanReact/components/SearchBar'; import Pagination from 'foremanReact/components/Pagination/PaginationWrapper'; import { ActionButtons } from 'foremanReact/components/common/ActionButtons/ActionButtons'; import { getControllerSearchProps } from 'foremanReact/constants'; import Invocations from './Invocations'; import './InvocationsPage.scss'; const InvocationsPage = ({ status, items, total, searchQuery, pagination, handleSearch, handlePagination, selectAll, areAllSelected, onSelect, isSelected, actions }) => (

); InvocationsPage.propTypes = { status: PropTypes.string, items: PropTypes.array.isRequired, total: PropTypes.number.isRequired, searchQuery: PropTypes.string.isRequired, pagination: PropTypes.object.isRequired, handleSearch: PropTypes.func.isRequired, handlePagination: PropTypes.func.isRequired, selectAll: PropTypes.func.isRequired, areAllSelected: PropTypes.bool, onSelect: PropTypes.func.isRequired, isSelected: PropTypes.func.isRequired, actions: PropTypes.array, }; InvocationsPage.defaultProps = { status: null, areAllSelected: false, actions: [] }; export default InvocationsPage;