feat: close button

This commit is contained in:
Methapon Metanipat 2024-10-18 13:42:52 +07:00
parent da52927f9e
commit aeae427981

View file

@ -18,9 +18,9 @@ defineProps<{
@click="(e) => $emit('click', e)" @click="(e) => $emit('click', e)"
v-bind="{ ...$props, ...$attrs }" v-bind="{ ...$props, ...$attrs }"
icon="mdi-close" icon="mdi-close"
color="var(--gray-7-hsl)" color="var(--negative-bg)"
:title="iconOnly ? $t('general.clear') : undefined" :title="iconOnly ? $t('general.close') : undefined"
> >
{{ $t('general.clear') }} {{ $t('general.close') }}
</MainButton> </MainButton>
</template> </template>