import PropTypes from 'prop-types'; import { Check, ErrorIcon } from '../../../assets/icons'; import { clsm } from '../../../utils'; import { dashboard as $dashboardContent } from '../../../content'; import Button from '../../../components/Button'; import LivePill from '../../../components/LivePill'; import useDateTime from '../../../hooks/useDateTime'; const $content = $dashboardContent.header.session_navigator; const StreamSessionButton = ({ streamSession, handleSessionClick }) => { const { startTime, endTime, hasErrorEvent, isLive } = streamSession; const [date, time, dayDiff] = useDateTime(startTime, endTime, 5); return ( ); }; StreamSessionButton.propTypes = { streamSession: PropTypes.object.isRequired, handleSessionClick: PropTypes.func.isRequired }; export default StreamSessionButton;