UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

13 lines (12 loc) 591 B
import React from 'react'; import { IBadge } from './types/badge'; /** * @description * Badge component is a component that shows a badge with a number or a dot. * @param {React.PropsWithChildren<IBadge<V>>} props * @returns {JSX.Element} */ declare const Badge: <V = undefined extends string | unknown ? string | undefined : string | unknown, S = undefined extends string | unknown ? string | undefined : string | unknown>(props: React.PropsWithChildren<IBadge<V, S>> & { ref?: React.ForwardedRef<HTMLDivElement> | undefined | null; }) => JSX.Element; export { Badge as BadgeV2 };