UNPKG

@nowt/premium-badge

Version:

A modern, premium-looking `Badge` component built with React.

13 lines (12 loc) 366 B
import React from 'react'; type Variant = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral'; type Size = 'sm' | 'md' | 'lg'; interface PremiumBadgeProps { label: string; variant?: Variant; size?: Size; pill?: boolean; icon?: React.ReactNode; } declare const PremiumBadge: React.FC<PremiumBadgeProps>; export default PremiumBadge;