import { Tooltip } from '@chakra-ui/react'; import { IoPause } from '@react-icons/all-files/io5/IoPause'; import { IoPlay } from '@react-icons/all-files/io5/IoPlay'; import { IoStop } from '@react-icons/all-files/io5/IoStop'; import { IoTimeOutline } from '@react-icons/all-files/io5/IoTimeOutline'; import PropTypes from 'prop-types'; import { tooltipDelayFast } from '../../../ontimeConfig'; export default function PlaybackIcon(props) { const { state } = props; if (state === 'stop') { return ( ); } if (state === 'start') { return ( ); } if (state === 'pause') { return ( ); } if (state === 'roll') { return ( ); } return ''; } PlaybackIcon.propTypes = { state: PropTypes.string, };