mirror of
https://github.com/unraid/api.git
synced 2026-01-06 08:39:54 -06:00
fix(web): replaceCheck type
This commit is contained in:
12
web/types/ui/badge.ts
Normal file
12
web/types/ui/badge.ts
Normal 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';
|
||||
}
|
||||
Reference in New Issue
Block a user