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

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