Files
ontime/client/src/common/components/buttons/DelayIconBtn.jsx
T
2021-04-24 16:37:41 +02:00

17 lines
387 B
React

import { IconButton } from '@chakra-ui/button';
import { FiClock } from 'react-icons/fi';
export default function DelayIconBtn(props) {
const { clickhandler, ...rest } = props;
return (
<IconButton
size={props.size || 'xs'}
icon={<FiClock />}
colorScheme='yellow'
onClick={clickhandler}
_focus={{ boxShadow: 'none' }}
{...rest}
/>
);
}