Updates
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import { DetailedHTMLProps, HTMLAttributes } from "react";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
/**
|
||||
* # Main Wrapper
|
||||
* @className twui-h1
|
||||
*/
|
||||
export default function Main({
|
||||
...props
|
||||
}: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>) {
|
||||
@@ -8,7 +12,8 @@ export default function Main({
|
||||
<main
|
||||
{...props}
|
||||
className={twMerge(
|
||||
"flex flex-col items-start w-full",
|
||||
"flex flex-col items-center w-full",
|
||||
"twui-main",
|
||||
props.className
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user