import type { ComponentProps, ParentProps } from "solid-js"; import { splitProps } from "solid-js"; import { cn } from "@/lib/cn"; export function Alert( props: ParentProps & { variant?: "default" | "destructive" | "success" | "warning" | "info" }>, ) { const [local, rest] = splitProps(props, ["class", "children", "variant"]); return ( ); }