mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 03:43:50 +00:00
67ddcd8c68
* feat/table add react-table * feat/table add protected table route * feat/table upgrade dependencies * feat/table support parsing of new properties Co-authored-by: DeepSource Bot <bot@deepsource.io>
21 lines
553 B
React
21 lines
553 B
React
import React from 'react';
|
|
import { IconButton } from '@chakra-ui/button';
|
|
import { Tooltip } from '@chakra-ui/tooltip';
|
|
import { FiUpload } from '@react-icons/all-files/fi/FiUpload';
|
|
|
|
export default function UploadIconBtn(props) {
|
|
const { clickhandler, size, ...rest } = props;
|
|
return (
|
|
<Tooltip label='Import event list'>
|
|
<IconButton
|
|
size={size || 'xs'}
|
|
icon={<FiUpload />}
|
|
colorScheme='white'
|
|
onClick={clickhandler}
|
|
_focus={{ boxShadow: 'none' }}
|
|
{...rest}
|
|
/>
|
|
</Tooltip>
|
|
);
|
|
}
|