MCPcopy Create free account
hub / github.com/WatermelonCorp/watermelon-platform / ExampleWrapper

Function ExampleWrapper

src/components/example.tsx:3–16  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

1import { cn } from "@/lib/utils"
2
3function ExampleWrapper({ className, ...props }: React.ComponentProps<"div">) {
4 return (
5 <div className="bg-background w-full">
6 <div
7 data-slot="example-wrapper"
8 className={cn(
9 "mx-auto grid min-h-screen w-full max-w-5xl min-w-0 content-center items-start gap-8 p-4 pt-2 sm:gap-12 sm:p-6 md:grid-cols-2 md:gap-8 lg:p-12 2xl:max-w-6xl",
10 className
11 )}
12 {...props}
13 />
14 </div>
15 )
16}
17
18function Example({
19 title,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected