You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
351 B
17 lines
351 B
import clsx from 'clsx';
|
|
import type { FC } from 'react';
|
|
|
|
type ContainerProps = {
|
|
children: Array<JSX.Element> | JSX.Element;
|
|
className?: string;
|
|
};
|
|
|
|
export const Container: FC<ContainerProps> = ({ className, ...props }) => {
|
|
return (
|
|
<div
|
|
className={clsx('mx-auto max-w-7xl px-4 lg:px-2', className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
};
|