import { cn } from "#lib/utils.ts";
import { title as styles } from "./classes.ts";

export interface Input extends Marko.Input<"span"> {}

<const/{ class: className, content, ...rest }=input/>

<span
  data-slot="attachment-title"
  class=cn(styles.root, className)
  ...rest
>
  <${content}/>
</span>
