<script lang="ts">
	let { currency, active = false, onClick, ...restProps } = $props();
</script>

<button
	class="btn join-item {active ? 'btn-primary' : 'btn-outline'} btn-xs"
	on:click={onClick}
	{...restProps}
>
	{currency}
</button>
