Files
ontime/client/src/common/components/buttons/UnloadIconBtn.jsx
T
cv 03ef3e58ed style: button disable
disable playback buttons while rolling (interface only)
2021-10-31 13:12:22 +01:00

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}
/>
);
}