mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 12:23:51 +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>
22 lines
586 B
React
22 lines
586 B
React
import React from 'react';
|
|
import { IconButton } from '@chakra-ui/button';
|
|
import { Tooltip } from '@chakra-ui/tooltip';
|
|
import { FiChevronsDown } from '@react-icons/all-files/fi/FiChevronsDown';
|
|
|
|
export default function ExpandBtn(props) {
|
|
const { clickhandler, size } = props;
|
|
return (
|
|
<Tooltip label='Expand all'>
|
|
<IconButton
|
|
size={size || 'xs'}
|
|
icon={<FiChevronsDown />}
|
|
colorScheme='white'
|
|
variant='outline'
|
|
background='#fff1'
|
|
onClick={clickhandler}
|
|
_focus={{ boxShadow: 'none' }}
|
|
/>
|
|
</Tooltip>
|
|
);
|
|
}
|