Add custom variant option

This commit is contained in:
Korbs 2024-08-27 01:50:37 -04:00
parent d87945ac41
commit a260dc9e35

View file

@ -10,7 +10,8 @@ const {
CTA_Secondary,
CTA_Secondary_Link,
Label,
LabelVarient
LabelVarient,
Custom
} = Astro.props;
---
@ -41,7 +42,7 @@ const {
</div>
</div>
<div class="lc-end">
<img loading="lazy" src={Image} alt={ImageAlt} style={ImageProperties} />
{Custom ? <slot/> : <img loading="lazy" src={Image} alt={ImageAlt} style={ImageProperties} />}
</div>
</div>