Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
import { Transition } from "@headlessui/react";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
interface Props {
|
||||
show: boolean;
|
||||
children: ReactNode;
|
||||
}
|
||||
export default function EaseInAndOut({ show, children }: Props) {
|
||||
return (
|
||||
<Transition
|
||||
show={show}
|
||||
enter="transition ease-in duration-100"
|
||||
enterFrom="opacity-0"
|
||||
enterTo="opacity-100"
|
||||
leave="transition ease-in duration-100"
|
||||
leaveFrom="opacity-100"
|
||||
leaveTo="opacity-0"
|
||||
>
|
||||
{children}
|
||||
</Transition>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user