mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 19:33:46 +00:00
db0eee3b9c
* chore: upgrade dependencies * feat/mac: draft pipeline * feat/mac: use public folder for transient files * feat/mac: set app fullscreen * feat/mac: cmd + , toggles menu * feat/mac: update readme * refact: easier login process * refact prevent style issues with safari * refact reduce css download * style: cleanup paginator design * style: studio clock is responsive * style: fix spacing style issues with safari
21 lines
559 B
React
21 lines
559 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'
|
|
onClick={clickhandler}
|
|
_focus={{ boxShadow: 'none' }}
|
|
/>
|
|
</Tooltip>
|
|
);
|
|
}
|