Add custom variant option
This commit is contained in:
parent
d87945ac41
commit
a260dc9e35
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue