mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 09:53:48 +00:00
18 lines
412 B
React
18 lines
412 B
React
import { IconButton } from '@chakra-ui/button';
|
|
import { FiRefreshCcw } from 'react-icons/fi';
|
|
|
|
export default function ReloadIconButton(props) {
|
|
return (
|
|
<IconButton
|
|
icon={<FiRefreshCcw />}
|
|
colorScheme='whiteAlpha'
|
|
backgroundColor='#ffffff05'
|
|
variant='outline'
|
|
onClick={props.clickHandler}
|
|
width={90}
|
|
_focus={{ boxShadow: 'none' }}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|