mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-09 09:23:51 +00:00
17 lines
387 B
React
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}
|
|
/>
|
|
);
|
|
}
|