style: menubar mockup

This commit is contained in:
cv
2021-05-29 22:46:05 +02:00
parent 32396cd427
commit 455ac6bff4
13 changed files with 202 additions and 63 deletions
@@ -0,0 +1,22 @@
import { IconButton } from '@chakra-ui/button';
import { Tooltip } from '@chakra-ui/tooltip';
import { FiHelpCircle } from 'react-icons/fi';
export default function HelpIconBtn(props) {
const { clickhandler, ...rest } = props;
return (
<Tooltip label='Help'>
<IconButton
size={props.size || 'xs'}
icon={<FiHelpCircle />}
colorScheme='white'
variant='outline'
isRound
borderColor='#fff1'
onClick={clickhandler}
_focus={{ boxShadow: 'none' }}
{...rest}
/>
</Tooltip>
);
}