shellphone.app/app/features/public-area/components/container.tsx

11 lines
312 B
TypeScript
Raw Normal View History

2022-07-08 23:34:18 +00:00
import type { HTMLAttributes } from "react";
import clsx from "clsx";
type Props = HTMLAttributes<HTMLDivElement> & {
className?: string;
};
export default function Container({ className, ...props }: Props) {
return <div className={clsx("mx-auto max-w-7xl px-4 sm:px-6 lg:px-8", className)} {...props} />;
}