martials.no/src/components/icons/PajamasIcon.astro

15 lines
360 B
Plaintext

---
import type { PajamasIcon } from "@/types/icons"
import type { ComponentProps } from "@/types/props"
import { Icon } from "astro-icon/components"
interface Props extends ComponentProps {
name: PajamasIcon
"aria-label": string
}
const { name, class: clazz, ...props } = Astro.props
---
<Icon name={name} class:list={["w-6 h-6", clazz]} {...props} />