import React from 'react'; import { Badge, Link, Stack, Td, Tr } from '@chakra-ui/react'; import MasterActionsMenu from '../MasterActionsMenu'; const MasterItem = ({ name, schedule, phone }) => { return ( {name} {schedule.map((time, index) => ( {time} ))} {phone} ); }; export default MasterItem;