mockup menu actions

add buttons for upcoming actions
- collapse all
- expand all
- goto selected
This commit is contained in:
cv
2021-05-16 12:59:47 +02:00
parent 937106d49c
commit 1980e0e779
5 changed files with 60 additions and 17 deletions
@@ -0,0 +1,18 @@
import { Button } from '@chakra-ui/button';
import { FiTarget } from 'react-icons/fi';
export default function CurrentBtn(props) {
const { clickhandler } = props;
return (
<Button
size={props.size || 'xs'}
leftIcon={<FiTarget />}
colorScheme='whiteAlpha'
variant='outline'
onClick={clickhandler}
_focus={{ boxShadow: 'none' }}
>
Goto Current
</Button>
);
}