This commit is contained in:
Benjamin Toby
2024-10-17 09:06:54 +01:00
parent 25daf1844e
commit f73b56cdc4
25 changed files with 408 additions and 35 deletions
+6 -2
View File
@@ -1,11 +1,15 @@
import { DetailedHTMLProps, HTMLAttributes } from "react";
import { twMerge } from "tailwind-merge";
/**
* # General Footer
* @className twui-footer
*/
export default function Footer({
...props
}: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>) {
return (
<header
<footer
{...props}
className={twMerge(
"flex flex-col items-center justify-center",
@@ -16,6 +20,6 @@ export default function Footer({
)}
>
{props.children}
</header>
</footer>
);
}