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