mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-31 14:51:02 +00:00
refactor: Reduce repetition by adding icon arguments to Button
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<a href={url} rel="noreferrer" target="_blank" on:click|stopPropagation>
|
||||
<h4>{name}</h4>
|
||||
</a>
|
||||
<div id="arrow" style:transform={expanded ? 'rotate(0deg)' : 'rotate(-180deg)'}>
|
||||
<div id="arrow" style:transform={expanded ? 'rotate(0deg)' : 'rotate(180deg)'}>
|
||||
<ChevronUp size="24px" color="var(--surface-six)" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user