UNPKG

@patreon/studio

Version:

Patreon Studio Design System

5 lines (4 loc) 451 B
import React from 'react'; import type { BadgeProps, StandaloneBadgeProps } from './types'; export declare function Badge({ shape, position, offset, variant, style, badgeContent, maxDigits, children, }: BadgeProps): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined; export declare function StandaloneBadge({ variant, style, content, maxDigits, className, }: StandaloneBadgeProps): React.JSX.Element | null;