refactor: btnStyle prop for CallbackButton component

This commit is contained in:
Zack Spear
2024-05-08 17:02:32 -07:00
committed by Zack Spear
parent 79a01da18d
commit b91dbca144

View File

@@ -2,8 +2,10 @@
import { ArrowPathIcon, ArrowTopRightOnSquareIcon } from '@heroicons/vue/24/solid';
import { useAccountStore } from '~/store/account';
import type { ButtonStyle } from '~/types/ui/button';
defineProps<{
btnStyle?: ButtonStyle;
t: any;
}>();
@@ -13,6 +15,7 @@ const accountStore = useAccountStore();
<template>
<div class="flex flex-col sm:flex-shrink-0 sm:flex-grow-0 items-center">
<BrandButton
:btn-style="btnStyle"
:icon="ArrowPathIcon"
:icon-right="ArrowTopRightOnSquareIcon"
:text="t('Check for OS Updates')"