Updates
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user