mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 02:43:50 +00:00
03ef3e58ed
disable playback buttons while rolling (interface only)
19 lines
434 B
React
19 lines
434 B
React
import { IconButton } from '@chakra-ui/button';
|
|
import { FiXOctagon } from 'react-icons/fi';
|
|
|
|
export default function UnloadIconBtn(props) {
|
|
const { clickhandler, ...rest } = props;
|
|
return (
|
|
<IconButton
|
|
icon={<FiXOctagon />}
|
|
colorScheme='red'
|
|
backgroundColor='#ff000022'
|
|
variant='outline'
|
|
onClick={clickhandler}
|
|
width={90}
|
|
_focus={{ boxShadow: 'none' }}
|
|
{...rest}
|
|
/>
|
|
);
|
|
}
|