Icons using npm package instead of svgs. Props and types. Signed-off-by: Martin Berg Alstad <git@martials.no>
11 lines
193 B
Plaintext
11 lines
193 B
Plaintext
---
|
|
import PajamasIcon from "./PajamasIcon.astro"
|
|
interface Props {
|
|
class?: string
|
|
}
|
|
|
|
const { class: clazz } = Astro.props
|
|
---
|
|
|
|
<PajamasIcon name="pajamas:gitea" class={clazz}></PajamasIcon>
|