import { cn } from "@repo/shadcn-ui/lib/utils"; import type { ComponentPropsWithoutRef, ReactNode } from "react"; export type RdxPageWidth = "full" | "wide" | "content"; export interface RdxPageContainerProps extends Omit, "children"> { children: ReactNode; width?: RdxPageWidth; } const WIDTH_CLASSNAME: Record = { full: "w-full", wide: "mx-auto max-w-screen-2xl w-full", content: "mx-auto max-w-5xl w-full", }; export const RdxPageContainer = ({ children, className, width = "full", ...props }: RdxPageContainerProps) => { return (
{children}
); };