Fix: Corregir errores de TypeScript en componentes
- Instalar @types/node para resolver referencias a process - Corregir colores inválidos en componentes (orange→warning, purple→secondary, gray→neutral, etc.) - Agregar tipos explícitos en GroupCheckButton y EditProfileButton - Eliminar propiedad timeout inválida en toasts
This commit is contained in:
@@ -15,15 +15,13 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { ButtonColor, ButtonVariant, ButtonSize } from '#ui/types'
|
||||
|
||||
interface Props {
|
||||
groupName: string
|
||||
label?: string
|
||||
icon?: string
|
||||
color?: ButtonColor
|
||||
variant?: ButtonVariant
|
||||
size?: ButtonSize
|
||||
color?: 'neutral' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'error'
|
||||
variant?: 'solid' | 'outline' | 'soft' | 'ghost' | 'link'
|
||||
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
||||
verifyBackend?: boolean
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user