UNPKG

avada-feature-request

Version:

Feature Request component library for React applications

20 lines (19 loc) 843 B
import React from "react"; export type BadgeTone = "critical" | "warning" | "attention" | "success" | "new" | "info" | "read-only" | "enabled"; export type BadgeSize = "small" | "medium" | "large"; export type BadgeProgress = "incomplete" | "partially-complete" | "complete"; export interface CustomBadgeProps { /** The content to display inside the badge */ children?: React.ReactNode; /** Icon to display at the beginning of the badge */ icon?: React.ComponentType<any>; /** Sets the color of the badge for the given tone */ tone?: BadgeTone; /** Set the size of the badge */ size?: BadgeSize; /** Render a pip showing the progress of a given task */ progress?: BadgeProgress; /** Pass a custom class name */ className?: string; } export declare const CustomBadge: React.FC<CustomBadgeProps>;