import PropTypes from 'prop-types'; import { GroupCustomers } from './group-customers'; import { GroupNotes } from './group-notes'; import { GroupRates } from './group-rates'; import { GroupPunchout } from './group-punchout'; import { GroupChildGroups } from './group-child-groups'; export const GroupTabs = (props) => { return ( <> {props.group && ( <>
)} ); }; GroupTabs.propTypes = { group: PropTypes.object, // Paginated customers object. handleUpdate: PropTypes.func, // Callback to trigger refreshing parent component. handleChangePage: PropTypes.func, // Callback for sending updated page number to parent component. };