import { DetailedHTMLProps, HTMLAttributes } from "react";
import { twMerge } from "tailwind-merge";

export default function Main({
    ...props
}: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>) {
    return (
        <main
            {...props}
            className={twMerge(
                "flex flex-col items-start w-full",
                props.className
            )}
        >
            {props.children}
        </main>
    );
}
