mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
3b553f551d
fix(lint): resolve lint errors
25 lines
555 B
Vue
25 lines
555 B
Vue
<script lang="ts" setup>
|
|
defineProps<{
|
|
text: string
|
|
inverted?: boolean
|
|
}>()
|
|
const emits = defineEmits(['selected'])
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
border-2px
|
|
:class="[inverted ? 'border-app-black bg-app-white hover:bg-app-black text-app-black hover:text-app-white' : 'bg-app-black border-app-white hover:bg-app-white text-app-white hover:text-app-black']"
|
|
flex
|
|
items-center
|
|
justify-center
|
|
px-24px
|
|
py-16px
|
|
font-700
|
|
leading-40px
|
|
cursor-pointer
|
|
@click="emits('selected')"
|
|
>
|
|
{{ text }}
|
|
</div>
|
|
</template>
|