UNPKG

@penaprieto/design-system

Version:

Multi-brand React design system with design tokens from Figma

18 lines 589 B
import React from 'react'; import './Tag.css'; export type TagVariant = 'success' | 'error' | 'warning' | 'info' | 'featured' | 'promo'; export type TagSize = 'small' | 'medium' | 'large'; export interface TagProps { /** Texto del tag */ label: string; /** Variante de color/estado del tag */ variant?: TagVariant; /** Tamaño del tag */ size?: TagSize; /** Icono opcional (nombre del icono del sprite) */ icon?: string; /** Clase CSS adicional */ className?: string; } export declare const Tag: React.FC<TagProps>; //# sourceMappingURL=Tag.d.ts.map