Function
ExampleWrapper
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 1 | import { cn } from "@/lib/utils" |
| 2 | |
| 3 | function 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 | |
| 18 | function Example({ |
| 19 | title, |
Callers
nothing calls this directly
Tested by
no test coverage detected