mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 10:23:54 +00:00
21 lines
533 B
React
21 lines
533 B
React
import { IconButton } from '@chakra-ui/button';
|
|
import { Tooltip } from '@chakra-ui/tooltip';
|
|
import { FiChevronsDown } from 'react-icons/fi';
|
|
|
|
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>
|
|
);
|
|
}
|