2024-10-06 13:27:18 +02:00
|
|
|
---
|
|
|
|
import type { PajamasIcon } from "@/types/icons"
|
|
|
|
import type { ComponentProps } from "@/types/props"
|
|
|
|
import { Icon } from "astro-icon/components"
|
|
|
|
interface Props extends ComponentProps {
|
|
|
|
name: PajamasIcon
|
2024-10-22 20:46:53 +02:00
|
|
|
"aria-label": string
|
2024-10-06 13:27:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
const { name, class: clazz, ...props } = Astro.props
|
|
|
|
---
|
|
|
|
|
2024-10-22 20:46:53 +02:00
|
|
|
<Icon name={name} class:list={["w-6 h-6", clazz]} {...props} />
|