fix(web): replaceCheck type

This commit is contained in:
Zack Spear
2023-09-27 20:12:07 -07:00
committed by Zack Spear
parent 676ea0629b
commit c1b509220e
2 changed files with 18 additions and 1 deletions

12
web/types/ui/badge.ts Normal file
View File

@@ -0,0 +1,12 @@
import { XCircleIcon } from '@heroicons/vue/24/solid';
import type { Component } from 'vue';
export type UiBadgePropsColor = 'alpha' | 'beta' | 'gamma' | 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'orange' | 'black' | 'white' | 'transparent' | 'current' | 'custom';
export interface UiBadgeProps {
color?: UiBadgePropsColor;
icon?: typeof XCircleIcon | Component;
iconRight?: typeof XCircleIcon | Component;
iconStyles?: string;
size?: '12px' | '14px' | '16px' | '18px' | '20px' | '24px';
}