UNPKG

nudge-components-library

Version:

A library of nudge UI components

21 lines 733 B
import React from "react"; import "../../styles/tokens.css"; import "../../styles/globals.css"; export type BadgeProps = { badgeLabel?: string; label: string; count?: number; icon?: React.ReactNode; nudgeText?: string; id?: string; ariaLabel?: string; disabled?: boolean; nudgeVisible?: boolean; nudgePosition?: "top" | "bottom" | "left" | "right"; renderNudge?: (badgeData: { label?: string; count?: number; }) => React.ReactNode; }; export declare function Badge({ badgeLabel, label, count, icon, nudgeText, id, ariaLabel, disabled, nudgeVisible, nudgePosition, renderNudge, }: BadgeProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Badge.d.ts.map