import type { Component, ComponentProps } from "solid-js" import { splitProps } from "solid-js" import type { VariantProps } from "class-variance-authority" import { cva } from "class-variance-authority" import { cn } from "~/lib/utils" const calloutVariants = cva("rounded-md border-l-4 p-2 pl-4", { variants: { variant: { default: "border-info-foreground bg-info text-info-foreground", success: "border-success-foreground bg-success text-success-foreground", warning: "border-warning-foreground bg-warning text-warning-foreground", error: "border-error-foreground bg-error text-error-foreground" } }, defaultVariants: { variant: "default" } }) type CalloutProps = ComponentProps<"div"> & VariantProps const Callout: Component = (props) => { const [local, others] = splitProps(props, ["class", "variant"]) return
} const CalloutTitle: Component> = (props) => { const [local, others] = splitProps(props, ["class"]) return

} const CalloutContent: Component> = (props) => { const [local, others] = splitProps(props, ["class"]) return
} export { Callout, CalloutTitle, CalloutContent }