feat: migration to electron + next complete

This commit is contained in:
Anoop M D
2022-03-07 17:52:35 +05:30
parent 1f2b64c7cc
commit 37d9f75f64
95 changed files with 1990 additions and 21308 deletions

View File

@ -0,0 +1,24 @@
import React from 'react';
import Tippy from '@tippyjs/react';
import StyledWrapper from './StyledWrapper';
const Dropdown = ({icon, children, onCreate, placement}) => {
return (
<StyledWrapper className="dropdown">
<Tippy
content={children}
placement={placement || "bottom-end"}
animation={false}
arrow={false}
onCreate={onCreate}
interactive={true}
trigger="click"
appendTo="parent"
>
{icon}
</Tippy>
</StyledWrapper>
);
};
export default Dropdown;