added animations for dialog and tooltip (#2648)

* added animations for dialog and tooltip

* Update .env.example
This commit is contained in:
Peer Richelsen authored and Omar López committed 2022-05-02 16:21:11 -06:00
1 parent e4f7e26ad5
commit 7e57c192ee
8 files changed
+60 -10

No files matched your search

+2 -2
View File
@@ -17,13 +17,13 @@ export function Tooltip({
}) {
return (
<TooltipPrimitive.Root
delayDuration={150}
delayDuration={50}
open={open}
defaultOpen={defaultOpen}
onOpenChange={onOpenChange}>
<TooltipPrimitive.Trigger asChild>{children}</TooltipPrimitive.Trigger>
<TooltipPrimitive.Content
className="-mt-2 rounded-sm bg-black px-1 py-0.5 text-xs text-white shadow-lg"
className="slideInBottom -mt-2 rounded-sm bg-black px-1 py-0.5 text-xs text-white shadow-lg"
side="top"
align="center"
{...props}>