mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
import { cn } from "@lib/cn"
|
|
import { PropsWithChildren } from "react"
|
|
|
|
export function PageWrapper({
|
|
children,
|
|
className,
|
|
...props
|
|
}: PropsWithChildren<React.HTMLProps<HTMLDivElement>>) {
|
|
return (
|
|
<div className={cn("mb-4 mt-4 flex flex-col gap-4", className)} {...props}>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|