UNPKG

@papernote/ui

Version:

A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive

13 lines 532 B
import React from 'react'; export interface BadgeProps { children?: React.ReactNode; variant?: 'success' | 'warning' | 'error' | 'info' | 'neutral'; size?: 'sm' | 'md' | 'lg'; icon?: React.ReactNode; onRemove?: () => void; className?: string; /** Show as dot indicator (no text, just a colored dot) */ dot?: boolean; } export default function Badge({ children, variant, size, icon, onRemove, className, dot, }: BadgeProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Badge.d.ts.map