MCPcopy Create free account
hub / github.com/R44VC0RP/opencode.cafe / Alert

Function Alert

components/ui/alert.tsx:27–40  ·  view source on GitHub ↗
({
  className,
  variant,
  ...props
}: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>)

Source from the content-addressed store, hash-verified

25)
26
27function Alert({
28 className,
29 variant,
30 ...props
31}: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>) {
32 return (
33 <div
34 data-slot="alert"
35 role="alert"
36 className={cn(alertVariants({ variant }), className)}
37 {...props}
38 />
39 )
40}
41
42function AlertTitle({ className, ...props }: React.ComponentProps<"div">) {
43 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected