import PropTypes from 'prop-types'; import { GroupCustomers } from './GroupCustomers'; import { GroupNotes } from './GroupNotes'; import { GroupRates } from './GroupRates'; import { GroupPunchout } from './GroupPunchout'; import { GroupChildGroups } from './GroupChildGroups'; 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. };