---
import type { HTMLAttributes } from "astro/types";

interface Props extends HTMLAttributes<"p"> {}

const { class: className = "my-4", ...attrs } = Astro.props;
---

<p class:list={[className]} {...attrs}>
  <slot />
</p>
