mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 20:33:47 +00:00
f2dd24b74a
* feat/delays allow negative delays * feat/delays recover expand all * feat/delays refact: icons import * feat/delays refact: upgrade chakra * feat/delays version bump
21 lines
559 B
React
21 lines
559 B
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 } = props;
|
|
return (
|
|
<Tooltip label='Expand all'>
|
|
<IconButton
|
|
size={props.size || 'xs'}
|
|
icon={<FiChevronsDown />}
|
|
colorScheme='white'
|
|
variant='outline'
|
|
background='#fff1'
|
|
onClick={clickhandler}
|
|
_focus={{ boxShadow: 'none' }}
|
|
/>
|
|
</Tooltip>
|
|
);
|
|
}
|